Files
haikuports/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe
2014-07-29 22:45:37 +02:00

54 lines
1.1 KiB
Plaintext

SUMMARY="Pthread functions stubs for platforms missing them"
DESCRIPTION="
Pthread functions stubs for platforms missing them.
"
HOMEPAGE="http://xcb.freedesktop.org/"
SRC_URI="http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz"
CHECKSUM_SHA256="3031f466cf0b06de6b3ccbf2019d15c4fcf75229b7d226a711bc1885b3a82cde"
REVISION="2"
COPYRIGHT="2006 Diego Pettenò"
LICENSE="MIT"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libpthread_stubs$secondaryArchSuffix = $portVersion
devel:libpthread_stubs$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
SOURCE_DIR="libpthread-stubs-$portVersion"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
make
}
INSTALL()
{
make install
fixPkgconfig
}