2009-12-07 16:05:02 +01:00
|
|
|
# Template file for 'libdaemon'
|
|
|
|
pkgname=libdaemon
|
|
|
|
version=0.14
|
2013-04-12 19:13:19 +02:00
|
|
|
revision=6
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-10 10:39:41 +02:00
|
|
|
configure_args="--disable-static --disable-lynx"
|
2009-12-07 16:05:02 +01:00
|
|
|
short_desc="Lightweight C library that eases the writing of UNIX daemons"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-10 10:39:41 +02:00
|
|
|
homepage="http://0pointer.de/lennart/projects/$pkgname"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
|
2009-12-07 16:05:02 +01:00
|
|
|
checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
|
|
|
|
|
2013-04-12 19:13:19 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
configure_args+=" ac_cv_func_setpgrp_void=yes"
|
2013-02-16 15:59:52 +01:00
|
|
|
fi
|
2013-04-12 19:13:19 +02:00
|
|
|
|
|
|
|
libdaemon-devel_package() {
|
|
|
|
depends="libdaemon-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libdaemon_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|