diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-12-02 15:50:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-12-02 15:50:48 +0000 |
commit | ad16a723c335745f312b4d224a83b1d4bbe1170a (patch) | |
tree | cc525a8e53d456334e6627f1f114fd2c9dcd3129 | |
parent | 0b2b9167fc2de1f8a9d289b406c3e3de53c94ffb (diff) | |
download | aports-ad16a723c335745f312b4d224a83b1d4bbe1170a.tar.bz2 aports-ad16a723c335745f312b4d224a83b1d4bbe1170a.tar.xz |
extra/libconfig: new aport
-rw-r--r-- | extra/libconfig/APKBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/libconfig/APKBUILD b/extra/libconfig/APKBUILD new file mode 100644 index 0000000000..cf1d05a9be --- /dev/null +++ b/extra/libconfig/APKBUILD @@ -0,0 +1,22 @@ +pkgname=libconfig +pkgver=1.3.1 +pkgrel=0 +pkgdesc="a simple library for manipulating structured configuration files" +url="http://www.hyperrealm.com/libconfig/" +license='LGPL' +depends="uclibc" +source="http://www.hyperrealm.com/$pkgname/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-doc $pkgname-dev" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-cxx + make || return 1 + make DESTDIR="$pkgdir/" install +} + +md5sums="" #generate with 'abuild checksum' +md5sums="f02bfa27a21b3040089026975b9dc0b8 libconfig-1.3.1.tar.gz" |