libdaemon: modernize.

This commit is contained in:
Juan RP 2014-06-06 06:54:31 +02:00
parent 90f21a0b6d
commit 76e29e161f
1 changed files with 4 additions and 7 deletions

View File

@ -1,26 +1,23 @@
# Template file for 'libdaemon'
pkgname=libdaemon
version=0.14
revision=6
revision=7
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"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/libdaemon/libdaemon-0.14.tar.gz/509dc27107c21bcd9fbf2f95f5669563/libdaemon-0.14.tar.gz"
checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
if [ "$CROSS_BUILD" ]; then
configure_args+=" ac_cv_func_setpgrp_void=yes"
fi
libdaemon-devel_package() {
depends="libdaemon-${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share
vmove usr/lib/*.so
}
}