Plib: turn bep into recipe.

This commit is contained in:
Adrien Destugues
2015-08-23 10:03:44 +02:00
parent 4214010eaf
commit 562a7b3ff9
2 changed files with 116 additions and 60 deletions

View File

@@ -1,25 +1,61 @@
DESCRIPTION="plib - A Suite of Portable Game Libraries"
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/"
SOURCE_URI="http://plib.sourceforge.net/dist/plib-1.8.5.tar.gz"
CHECKSUM_MD5="47a6fbf63668c1eed631024038b2ea90"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
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()
{
cd plib-1.8.5
libtoolize --force --copy --install
#libtoolize --force --copy --install
./autogen.sh
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
cd plib-1.8.5
make install
prepareInstalledDevelLibs libplibfnt libplibjs libplibnet libplibpsl libplibpu libplibpuaux \
libplibpw libplibsg libplibsl libplibsm libplibssg libplibssgaux libplibul
}
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1999-2005 Steve J. Baker"