mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 07:10:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
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
|
|
}
|