diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-20 10:01:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-20 10:01:36 +0000 |
commit | fb58724295d2fb927556876ef0de5fe9c4727d8e (patch) | |
tree | 7617d8a2506912000a8a1682153d99f8d9ff05de /main/libasyncns | |
parent | a19c214e3e72530866219f583bd9272c7a61b582 (diff) | |
download | aports-fb58724295d2fb927556876ef0de5fe9c4727d8e.tar.bz2 aports-fb58724295d2fb927556876ef0de5fe9c4727d8e.tar.xz |
main/libasyncns: moved from testing
Diffstat (limited to 'main/libasyncns')
-rw-r--r-- | main/libasyncns/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/main/libasyncns/APKBUILD b/main/libasyncns/APKBUILD new file mode 100644 index 0000000000..edb57b1de1 --- /dev/null +++ b/main/libasyncns/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=libasyncns +pkgver=0.8 +pkgrel=0 +pkgdesc="Asynchronous Name Service Library" +url="http://0pointer.de/lennart/projects/libasyncns/" +arch="all" +license="LGPL2+" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir" + ./configure \ + --disable-static \ + --prefix=/usr \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="1f553d6ce1ad255bc83b3d8e9384f515 libasyncns-0.8.tar.gz" |