# Template file for 'libdaemon'
pkgname=libdaemon
version=0.14
revision=6
build_style=gnu-configure
configure_args="--disable-static --disable-lynx"
short_desc="Lightweight C library that eases the writing of UNIX daemons"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://0pointer.de/lennart/projects/$pkgname"
license="LGPL-2.1"
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834

if [ "$CROSS_BUILD" ]; then
	configure_args+=" ac_cv_func_setpgrp_void=yes"
fi

libdaemon-devel_package() {
	depends="libdaemon-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share
	}
}
