diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-05 10:58:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-05 10:58:56 +0000 |
commit | 3a3df521ec9b73f773d4a0c2b623f66632b7dfad (patch) | |
tree | b707fc64745e4c6126da832022ebbd891974c2e4 /main/confuse/APKBUILD | |
parent | eb1471b3f5c3f4c407ad9835db400e753bb74146 (diff) | |
download | aports-3a3df521ec9b73f773d4a0c2b623f66632b7dfad.tar.bz2 aports-3a3df521ec9b73f773d4a0c2b623f66632b7dfad.tar.xz |
main/confuse: new aport
C-library for parsing configuration files
http://www.nongnu.org/confuse
Needed by kamailio carrierroute module (ref #235)
Diffstat (limited to 'main/confuse/APKBUILD')
-rw-r--r-- | main/confuse/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/confuse/APKBUILD b/main/confuse/APKBUILD new file mode 100644 index 000000000..ef5d5b07b --- /dev/null +++ b/main/confuse/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=confuse +pkgver=2.6 +pkgrel=0 +pkgdesc="C-library for parsing configuration files" +url="http://www.nongnu.org/confuse" +license="LGPL" +depends= +makedepends="flex bison pkgconfig" +subpackages="$pkgname-dev" +source="http://bzero.se/$pkgname/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir"/$pkgname-$pkgver + # drop -Werror + sed -i -e 's/-Werror//' */Makefile.* || die + + ./configure --prefix=/usr \ + --enable-shared \ + --disable-nls + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -D -m644 libconfuse.pc "$pkgdir"/usr/lib/pkgconfig/libconfuse.pc +} +md5sums="0e883d66f0f58fc33585b430c652aa30 confuse-2.6.tar.gz" |