aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libasyncns
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libasyncns')
-rw-r--r--testing/libasyncns/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/libasyncns/APKBUILD b/testing/libasyncns/APKBUILD
new file mode 100644
index 0000000000..edb57b1de1
--- /dev/null
+++ b/testing/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"