0
0
Fork 0
haikuports/media-libs/plib/plib-1.8.5.recipe

67 lines
1.9 KiB
Bash

SUMMARY="Steve's Portable Game Libraries"
DESCRIPTION="PLIB includes sound effects, music, a complete 3D engine, font rendering, a simple \
Windowing library, a game scripting language, a GUI, networking, 3D math library and a collection \
of handy utility functions. All are 100% portable across nearly all modern computing platforms. \
What's more, it's all available on line - and completely free. Each library component is fairly \
independent of the others - so if you want to use SDL, GTK, GLUT, or FLTK instead of PLIB's 'PW' \
windowing library, you can."
HOMEPAGE="http://plib.sourceforge.net/"
COPYRIGHT="1999-2005 Steve J. Baker"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://plib.sourceforge.net/dist/plib-$portVersion.tar.gz"
CHECKSUM_SHA256="485b22bf6fdc0da067e34ead5e26f002b76326f6371e2ae006415dea6a380a32"
PATCHES="plib-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
plib$secondaryArchSuffix = $portVersion
devel:libplibfnt$secondaryArchSuffix
devel:libplibjs$secondaryArchSuffix
devel:libplibnet$secondaryArchSuffix
devel:libplibpsl$secondaryArchSuffix
devel:libplibpu$secondaryArchSuffix
devel:libplibpuaux$secondaryArchSuffix
devel:libplibpw$secondaryArchSuffix
devel:libplibsg$secondaryArchSuffix
devel:libplibsl$secondaryArchSuffix
devel:libplibsm$secondaryArchSuffix
devel:libplibssg$secondaryArchSuffix
devel:libplibssgaux$secondaryArchSuffix
devel:libplibul$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libGL$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
#libtoolize --force --copy --install
./autogen.sh
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libplibfnt libplibjs libplibnet libplibpsl libplibpu libplibpuaux \
libplibpw libplibsg libplibsl libplibsm libplibssg libplibssgaux libplibul
}
TEST()
{
make check
}