50 lines
1.0 KiB
Bash
50 lines
1.0 KiB
Bash
SUMMARY="Pthread functions stubs"
|
|
DESCRIPTION="Pthread functions stubs for platforms that don't (yet) provide \
|
|
those functions."
|
|
HOMEPAGE="https://xcb.freedesktop.org/"
|
|
COPYRIGHT="2006 Diego Pettenò"
|
|
LICENSE="MIT"
|
|
REVISION="5"
|
|
SOURCE_URI="http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz"
|
|
CHECKSUM_SHA256="3031f466cf0b06de6b3ccbf2019d15c4fcf75229b7d226a711bc1885b3a82cde"
|
|
SOURCE_DIR="libpthread-stubs-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
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="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
devel:util_macros
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
autoreconf -i
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
fixPkgconfig
|
|
}
|