From 0c4f59a6a48ee5ebcc776e29ca8b49b3269ad7e6 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 15 Jun 2008 04:28:30 +0200 Subject: lib: Separate from client's automake --- AUTHORS | 2 +- autogen.sh | 12 +++++++----- configure.in | 5 +++-- libpiano/AUTHORS | 2 ++ libpiano/COPYING | 19 +++++++++++++++++++ libpiano/ChangeLog | 1 + libpiano/INSTALL | 0 libpiano/NEWS | 0 libpiano/README | 0 libpiano/configure.in | 23 +++++++++++++++++++++++ 10 files changed, 56 insertions(+), 8 deletions(-) create mode 100644 libpiano/AUTHORS create mode 100644 libpiano/COPYING create mode 100644 libpiano/ChangeLog create mode 100644 libpiano/INSTALL create mode 100644 libpiano/NEWS create mode 100644 libpiano/README create mode 100644 libpiano/configure.in 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 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 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 diff --git a/libpiano/NEWS b/libpiano/NEWS new file mode 100644 index 0000000..e69de29 diff --git a/libpiano/README b/libpiano/README new file mode 100644 index 0000000..e69de29 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 -- cgit v1.2.3