Files
haikuports/dev-libs/libpthread_stubs/libpthread_stubs-0.4.recipe
2017-05-06 11:23:40 -04:00

50 lines
1.1 KiB
Bash

SUMMARY="Pthread functions stubs"
DESCRIPTION="Pthread functions stubs for platforms that don't (yet) provide \
those functions."
HOMEPAGE="http://xcb.freedesktop.org/"
COPYRIGHT="2006 Diego Pettenò"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="http://xcb.freedesktop.org/dist/libpthread-stubs-$portVersion.tar.gz"
CHECKSUM_SHA256="50d5686b79019ccea08bcbd7b02fe5a40634abcfd4146b6e75c6420cc170e9d9"
SOURCE_DIR="libpthread-stubs-$portVersion"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libpthread_stubs$secondaryArchSuffix = $portVersion
devel:libpthread_stubs$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
make
}
INSTALL()
{
make install
fixPkgconfig
}