summaryrefslogtreecommitdiff
path: root/user/libdaemon
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-07 19:50:59 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-07 19:50:59 +0000
commit950aa3ee596a005e12120b1620940328425e4b4d (patch)
treed78d4b455eb5451dd911f7011932a7b72e2f1156 /user/libdaemon
parent1a1f0a0f94162c91df374ca5400d3c2258614c14 (diff)
downloadpackages-950aa3ee596a005e12120b1620940328425e4b4d.tar.gz
packages-950aa3ee596a005e12120b1620940328425e4b4d.tar.bz2
packages-950aa3ee596a005e12120b1620940328425e4b4d.tar.xz
packages-950aa3ee596a005e12120b1620940328425e4b4d.zip
user/libdaemon: New package
Diffstat (limited to 'user/libdaemon')
-rw-r--r--user/libdaemon/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/libdaemon/APKBUILD b/user/libdaemon/APKBUILD
new file mode 100644
index 000000000..d01d0f581
--- /dev/null
+++ b/user/libdaemon/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libdaemon
+pkgver=0.14
+pkgrel=0
+pkgdesc="Library for creating Unix daemons"
+url="http://0pointer.de/lennart/projects/libdaemon/"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="doxygen lynx"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://0pointer.de/lennart/projects/libdaemon/libdaemon-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --disable-examples
+ make
+ make -C doc doxygen
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ mv doc/reference/man/man3/_*libdaemon_.3 doc/reference/man/man3/libdaemon.3
+ install -v -D -m644 doc/reference/html/* -t "$pkgdir"/usr/share/doc/libdaemon-0.14/reference/html/
+ install -v -D -m644 doc/reference/man/man3/* -t "$pkgdir"/usr/share/man/man3/
+}
+
+sha512sums="a96b25c09bd63cc192c1c5f8b5bf34cc6ad0c32d42ac14b520add611423b6ad3d64091a47e0c7ab9a94476a5e645529abccea3ed6b23596567163fba88131ff2 libdaemon-0.14.tar.gz"