mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
60 lines
1.4 KiB
Bash
60 lines
1.4 KiB
Bash
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
|
|
}
|