aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdaemon/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-21 21:20:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-21 21:20:16 +0000
commitd622713df480c0f70a2b73f58d5a2d719e83e3f3 (patch)
treecf86c0fc6706a93dced0cb3e4e6f8e7b4e14ebdb /main/libdaemon/APKBUILD
parent29b5df4f9643103f6e72fdac2fb1bb426d35cb5b (diff)
downloadaports-d622713df480c0f70a2b73f58d5a2d719e83e3f3.tar.bz2
aports-d622713df480c0f70a2b73f58d5a2d719e83e3f3.tar.xz
main/avahi,libdaemon,py-dbus: moved from testing
Diffstat (limited to 'main/libdaemon/APKBUILD')
-rw-r--r--main/libdaemon/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/libdaemon/APKBUILD b/main/libdaemon/APKBUILD
new file mode 100644
index 0000000000..7a39c98df1
--- /dev/null
+++ b/main/libdaemon/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libdaemon
+pkgver=0.14
+pkgrel=0
+pkgdesc="A lightweight C library which eases the writing of UNIX daemons"
+url="http://0pointer.de/lennart/projects/libdaemon/"
+arch="all"
+license="LGPL"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://0pointer.de/lennart/projects/libdaemon/libdaemon-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build () {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --localstatedir=/var \
+ --disable-lynx \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="509dc27107c21bcd9fbf2f95f5669563 libdaemon-0.14.tar.gz"