mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
flatzebra, bump version (#6241)
This commit is contained in:
@@ -1,24 +1,25 @@
|
|||||||
SUMMARY="Generic game engine"
|
SUMMARY="Generic game engine"
|
||||||
DESCRIPTION="A generic game engine for 2D double-buffering animation"
|
DESCRIPTION="A generic game engine for 2D double-buffering animation"
|
||||||
HOMEPAGE="http://sarrazip.com/dev/burgerspace.html"
|
HOMEPAGE="http://sarrazip.com/dev/burgerspace.html"
|
||||||
COPYRIGHT="2009 Pierre Sarrazin"
|
COPYRIGHT="1999-2019 Pierre Sarrazin"
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="6"
|
REVISION="1"
|
||||||
SOURCE_URI="http://perso.b2b2c.ca/~sarrazip/dev/flatzebra-$portVersion.tar.gz"
|
SOURCE_URI="http://perso.b2b2c.ca/~sarrazip/dev/flatzebra-$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="4e7bb0a77136ec3b81e0f73c1d08e828d38ef011095d5ce7068a94f3bb21d67a"
|
CHECKSUM_SHA256="8809a655cd85b25701de3c627cdacfa49f59af13680d609730386fc402f14df4"
|
||||||
SOURCE_DIR="flatzebra-$portVersion"
|
SOURCE_DIR="flatzebra-$portVersion"
|
||||||
|
|
||||||
ARCHITECTURES="?all !x86_gcc2"
|
ARCHITECTURES="all !x86_gcc2"
|
||||||
SECONDARY_ARCHITECTURES="x86"
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
libVersion="2.0.0"
|
||||||
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
flatzebra$secondaryArchSuffix = $portVersion
|
flatzebra$secondaryArchSuffix = $portVersion
|
||||||
lib:libflatzebra_0.1$secondaryArchSuffix = $portVersion
|
lib:libflatzebra_0.1$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
lib:libGL$secondaryArchSuffix
|
|
||||||
lib:libjpeg$secondaryArchSuffix
|
|
||||||
lib:libSDL_1.2$secondaryArchSuffix
|
lib:libSDL_1.2$secondaryArchSuffix
|
||||||
lib:libSDL_image_1.2$secondaryArchSuffix
|
lib:libSDL_image_1.2$secondaryArchSuffix
|
||||||
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
||||||
@@ -26,16 +27,14 @@ REQUIRES="
|
|||||||
|
|
||||||
PROVIDES_devel="
|
PROVIDES_devel="
|
||||||
flatzebra${secondaryArchSuffix}_devel = $portVersion
|
flatzebra${secondaryArchSuffix}_devel = $portVersion
|
||||||
devel:libflatzebra_0.1$secondaryArchSuffix = $portVersion
|
devel:libflatzebra_0.1$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES_devel="
|
REQUIRES_devel="
|
||||||
haiku$secondaryArchSuffix
|
flatzebra$secondaryArchSuffix == $portVersion base
|
||||||
lib:libflatzebra_0.1$secondaryArchSuffix == $portVersion
|
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
devel:libjpeg$secondaryArchSuffix
|
|
||||||
devel:libSDL_1.2$secondaryArchSuffix
|
devel:libSDL_1.2$secondaryArchSuffix
|
||||||
devel:libSDL_image_1.2$secondaryArchSuffix
|
devel:libSDL_image_1.2$secondaryArchSuffix
|
||||||
devel:libSDL_mixer_1.2$secondaryArchSuffix
|
devel:libSDL_mixer_1.2$secondaryArchSuffix
|
||||||
@@ -45,10 +44,14 @@ BUILD_PREREQUIRES="
|
|||||||
cmd:autoconf
|
cmd:autoconf
|
||||||
cmd:automake
|
cmd:automake
|
||||||
cmd:gcc$secondaryArchSuffix
|
cmd:gcc$secondaryArchSuffix
|
||||||
cmd:libtoolize
|
cmd:libtoolize$secondaryArchSuffix
|
||||||
cmd:make
|
cmd:make
|
||||||
"
|
"
|
||||||
|
|
||||||
|
TEST_REQUIRES="
|
||||||
|
cmd:pkg_config$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
runConfigure ./configure
|
runConfigure ./configure
|
||||||
@@ -58,12 +61,27 @@ BUILD()
|
|||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
# remove libtool file
|
||||||
|
rm -rf $libDir/libflatzebra-0.1.la
|
||||||
|
|
||||||
|
prepareInstalledDevelLib libflatzebra-0.1
|
||||||
fixPkgconfig
|
fixPkgconfig
|
||||||
|
|
||||||
#move the flatzebra headers to the place specified in pkgconfig
|
# fixPkgconfig
|
||||||
mv $includeDir/flatzebra-0.1/flatzebra $includeDir
|
if [ -n "$secondaryArchSuffix" ]; then
|
||||||
rm -rf $includeDir/flatzebra-0.1
|
sed -i 's,\${prefix}/develop/headers/x86,\${prefix}/develop/headers/x86/flatzebra-0.1,g' \
|
||||||
|
$prefix/$relativeDevelopLibDir/pkgconfig/flatzebra-0.1.pc
|
||||||
|
else
|
||||||
|
sed -i 's,\${prefix}/develop/headers,\${prefix}/develop/headers/flatzebra-0.1,g' \
|
||||||
|
$prefix/$relativeDevelopLibDir/pkgconfig/flatzebra-0.1.pc
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf $libDir/libflatzebra-0.1.la
|
packageEntries devel \
|
||||||
packageEntries devel $developDir
|
$developDir
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST()
|
||||||
|
{
|
||||||
|
make check
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user