summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-15 04:28:30 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-15 04:28:30 +0200
commit0c4f59a6a48ee5ebcc776e29ca8b49b3269ad7e6 (patch)
tree9b0145e103c15886dc79b7d95fab5e45ea25ad9e
parent08d4afc40c207844d35793fa41f86a3e3cbff9bf (diff)
downloadpianobar-windows-0c4f59a6a48ee5ebcc776e29ca8b49b3269ad7e6.tar.gz
pianobar-windows-0c4f59a6a48ee5ebcc776e29ca8b49b3269ad7e6.tar.bz2
pianobar-windows-0c4f59a6a48ee5ebcc776e29ca8b49b3269ad7e6.zip
lib: Separate from client's automake
-rw-r--r--AUTHORS2
-rwxr-xr-xautogen.sh12
-rw-r--r--configure.in5
-rw-r--r--libpiano/AUTHORS2
-rw-r--r--libpiano/COPYING19
-rw-r--r--libpiano/ChangeLog1
-rw-r--r--libpiano/INSTALL0
-rw-r--r--libpiano/NEWS0
-rw-r--r--libpiano/README0
-rw-r--r--libpiano/configure.in23
10 files changed, 56 insertions, 8 deletions
diff --git a/AUTHORS b/AUTHORS
index 84f6677..54a9887 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,2 +1,2 @@
-Reverse engineering, main code:
+Main code:
Lars-Dominik Braun <PromyLOPh@gmail.com>
diff --git a/autogen.sh b/autogen.sh
index 12d2f9b..3d09394 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,9 @@
#!/bin/sh
-libtoolize --force \
-&& aclocal \
-&& automake --add-missing \
-&& autoconf \
-&& ./configure
+for DIR in . libpiano; do
+ cd $DIR
+ libtoolize --force \
+ && aclocal \
+ && automake --add-missing \
+ && autoconf
+done
diff --git a/configure.in b/configure.in
index db07cf7..2edfb6e 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-AC_INIT([pianobar], [20080609], [PromyLOPh@gmail.com])
+AC_INIT([pianobar], [0.1], [PromyLOPh@gmail.com])
AC_CONFIG_SRCDIR([src/main.c])
AM_INIT_AUTOMAKE([-Wall])
@@ -35,6 +35,7 @@ AC_CHECK_FUNCS([memset])
AC_TYPE_SIZE_T
-AC_CONFIG_FILES(Makefile src/Makefile libpiano/Makefile)
+AC_CONFIG_FILES(Makefile src/Makefile)
+AC_CONFIG_SUBDIRS([libpiano])
AC_OUTPUT
diff --git a/libpiano/AUTHORS b/libpiano/AUTHORS
new file mode 100644
index 0000000..84f6677
--- /dev/null
+++ b/libpiano/AUTHORS
@@ -0,0 +1,2 @@
+Reverse engineering, main code:
+ Lars-Dominik Braun <PromyLOPh@gmail.com>
diff --git a/libpiano/COPYING b/libpiano/COPYING
new file mode 100644
index 0000000..ce56cec
--- /dev/null
+++ b/libpiano/COPYING
@@ -0,0 +1,19 @@
+Copyright (c) 2008 Lars-Dominik Braun
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/libpiano/ChangeLog b/libpiano/ChangeLog
new file mode 100644
index 0000000..8e67fae
--- /dev/null
+++ b/libpiano/ChangeLog
@@ -0,0 +1 @@
+Provided by git
diff --git a/libpiano/INSTALL b/libpiano/INSTALL
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/libpiano/INSTALL
diff --git a/libpiano/NEWS b/libpiano/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/libpiano/NEWS
diff --git a/libpiano/README b/libpiano/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/libpiano/README
diff --git a/libpiano/configure.in b/libpiano/configure.in
new file mode 100644
index 0000000..2f25f4c
--- /dev/null
+++ b/libpiano/configure.in
@@ -0,0 +1,23 @@
+AC_INIT([libpiano], [0.1], [PromyLOPh@gmail.com])
+AC_CONFIG_AUX_DIR([.])
+AC_CONFIG_SRCDIR([main.c])
+AM_INIT_AUTOMAKE([-Wall])
+
+AC_PROG_CC
+AM_PROG_CC_C_O
+AM_SANITY_CHECK
+AM_PROG_LIBTOOL
+
+PKG_PROG_PKG_CONFIG
+
+PKG_CHECK_MODULES(LIBCURL, libcurl >= 7.18.0)
+AC_SUBST(LIBCURL_CFLAGS)
+AC_SUBST(LIBCURL_LIBS)
+
+PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.6.31)
+AC_SUBST(LIBXML_CFLAGS)
+AC_SUBST(LIBXML_LIBS)
+
+AC_CONFIG_FILES(Makefile)
+
+AC_OUTPUT