libdaemon: rebuild for -dbg pkg; cross build support.

This commit is contained in:
Juan RP 2013-02-16 15:59:52 +01:00
parent 2c55192899
commit bc36f72a63
2 changed files with 5 additions and 19 deletions

View file

@ -1,11 +1,7 @@
# Template file for 'libdaemon-devel'. # Template file for 'libdaemon-devel'.
# #
depends="libdaemon-${version}_${revision}" depends="libdaemon-${version}_${revision}"
short_desc="${sourcepkg} development files" short_desc="${short_desc} -- development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noarch=yes noarch=yes
do_install() { do_install() {

View file

@ -1,7 +1,7 @@
# Template file for 'libdaemon' # Template file for 'libdaemon'
pkgname=libdaemon pkgname=libdaemon
version=0.14 version=0.14
revision=4 revision=5
subpackages="$pkgname-devel" subpackages="$pkgname-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --disable-lynx" configure_args="--disable-static --disable-lynx"
@ -11,17 +11,7 @@ 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://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834 checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
long_desc="
It consists of the following parts:
* A wrapper around fork() which does the correct daemonization procedure if [ -n "$XBPS_CROSS_TRIPLET" ]; then
of a process. configure_args="${configure_args} ac_cv_func_setpgrp_void=yes"
* A wrapper around syslog() for simpler and compatible log output to Syslog fi
or STDERR.
* An API for writing PID files.
* An API for serializing UNIX signals into a pipe for usage with select()
or poll().
* An API for running subprocesses with STDOUT and STDERR redirected to syslog.
APIs like these are used in most daemon software available. It is not that
simple to get it done right and code duplication is not a goal."