Files
haikuports/media-libs/plib/plib-1.8.5.recipe
2015-08-23 10:47:40 +02:00

62 lines
1.6 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/"
REVISION="1"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1999-2005 Steve J. Baker"
ARCHITECTURES="x86_gcc2"
SOURCE_URI="http://plib.sourceforge.net/dist/plib-$portVersion.tar.gz"
CHECKSUM_SHA256="485b22bf6fdc0da067e34ead5e26f002b76326f6371e2ae006415dea6a380a32"
PATCHES="plib-$portVersion.patchset"
PROVIDES="
plib = $portVersion
devel:libplibfnt
devel:libplibjs
devel:libplibnet
devel:libplibpsl
devel:libplibpu
devel:libplibpuaux
devel:libplibpw
devel:libplibsg
devel:libplibsl
devel:libplibsm
devel:libplibssg
devel:libplibssgaux
devel:libplibul
"
BUILD_REQUIRES="
haiku_devel
devel:libGL
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:awk
cmd:gcc
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
}