# 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" prepare() { update_config_guess update_config_sub default_prepare } 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"