Files
haikuports/dev-libs/libpthread_stubs/libpthread_stubs-0.3.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

54 lines
1.0 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
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
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
}