mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Flatzebra: Updated and added new recipe for 0.1.6
This commit is contained in:
59
dev-games/flatzebra/flatzebra-0.1.6.recipe
Normal file
59
dev-games/flatzebra/flatzebra-0.1.6.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
SUMMARY="Generic game engine"
|
||||
DESCRIPTION="A generic game engine for 2D double-buffering animation"
|
||||
HOMEPAGE="http://sarrazip.com/dev/burgerspace.html"
|
||||
COPYRIGHT="2009 Pierre Sarrazin."
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://perso.b2b2c.ca/sarrazip/dev/flatzebra-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4e7bb0a77136ec3b81e0f73c1d08e828d38ef011095d5ce7068a94f3bb21d67a"
|
||||
SOURCE_DIR="flatzebra-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86_64 ?x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
flatzebra = $portVersion
|
||||
lib:libflatzebra_0.1$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libsdl_image$secondaryArchSuffix
|
||||
lib:libsdl_mixer$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libsdl_image$secondaryArchSuffix
|
||||
devel:libsdl_mixer$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure -prefix=$prefix
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
mkdir -p $includeDir/flatzebra
|
||||
mkdir -p $libDir/
|
||||
mv $prefix/include/flatzebra-0.1/flatzebra/*.h $includeDir/flatzebra/
|
||||
mv $prefix/lib/libflatzebra* $libDir/
|
||||
rm $libDir/libflatzebra-0.1.la
|
||||
rm -rf $prefix/include \
|
||||
$prefix/share
|
||||
}
|
||||
Reference in New Issue
Block a user