45 lines
1012 B
Bash
45 lines
1012 B
Bash
SUMMARY="A UNIX daemon library"
|
|
DESCRIPTION="libdaemon is a lightweight C library that eases the writing of UNIX daemons."
|
|
HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/"
|
|
COPYRIGHT="2003-2009 Lennart Poettering"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="http://0pointer.de/lennart/projects/libdaemon/libdaemon-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834"
|
|
PATCHES="libdaemon-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all ?x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libdaemon$secondaryArchSuffix = $portVersion
|
|
devel:libdaemon$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gawk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure --disable-lynx --disable-examples
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/libdaemon.la
|
|
prepareInstalledDevelLibs libdaemon
|
|
fixPkgconfig
|
|
}
|