libdaemon: modernize.

This commit is contained in:
Juan RP 2014-06-06 06:54:31 +02:00
parent 90f21a0b6d
commit 76e29e161f

View file

@ -1,26 +1,23 @@
# Template file for 'libdaemon' # Template file for 'libdaemon'
pkgname=libdaemon pkgname=libdaemon
version=0.14 version=0.14
revision=6 revision=7
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --disable-lynx" configure_args="--disable-static --disable-lynx"
short_desc="Lightweight C library that eases the writing of UNIX daemons" short_desc="Lightweight C library that eases the writing of UNIX daemons"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://0pointer.de/lennart/projects/$pkgname" homepage="http://0pointer.de/lennart/projects/$pkgname"
license="LGPL-2.1" 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 checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
if [ "$CROSS_BUILD" ]; then
configure_args+=" ac_cv_func_setpgrp_void=yes"
fi
libdaemon-devel_package() { libdaemon-devel_package() {
depends="libdaemon-${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/share vmove usr/share
vmove usr/lib/*.so
} }
} }