mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
btanks: add recipe for version 0.9.8083.
* builds OK, it just displays a black background window atm.
This commit is contained in:
80
games-action/btanks/btanks-0.9.8083.recipe
Normal file
80
games-action/btanks/btanks-0.9.8083.recipe
Normal file
@@ -0,0 +1,80 @@
|
||||
SUMMARY="A tanks arcade game"
|
||||
DESCRIPTION="Battle Tanks is a funny battle on your desk, where you can \
|
||||
choose one of three vehicles and eliminate your enemy using the whole arsenal \
|
||||
of weapons. It has original cartoon-like graphics and cool music, it's fun \
|
||||
and dynamic, it has several network modes for deathmatch and cooperative -- \
|
||||
what else is needed to have fun with your friends?
|
||||
"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="
|
||||
2006-2009 Battle Tanks team
|
||||
2007-2008 Netive Media Group
|
||||
2005-2007 Vladimir Menshakov
|
||||
"
|
||||
HOMEPAGE="http://btanks.sourceforge.net"
|
||||
REVISION="1"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/btanks/btanks-source/btanks-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="3fd2ce6a2b45f7a60c3b114fa9aff13cb3dd9fbb6a65cdc9798b76c4fa2c4341"
|
||||
|
||||
ARCHITECTURES="x86_64"
|
||||
|
||||
PATCHES="btanks-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
btanks$secondaryArchSuffix = $portVersion
|
||||
cmd:btanks$secondaryArchSuffix = $portVersion
|
||||
cmd:bted$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
lib:liblua$secondaryArchSuffix
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libsdl_image$secondaryArchSuffix
|
||||
lib:libsmpeg$secondaryArchSuffix
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libGLU$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:liblua$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libsdl_image$secondaryArchSuffix
|
||||
devel:libsmpeg$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libglu$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:scons
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:zip
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
scons $jobArgs . mode=release
|
||||
sh ./pack-resources.sh
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/btanks/lib
|
||||
cp btanks bted $appsDir/btanks/
|
||||
cp build/release/clunk/libclunk.so \
|
||||
build/release/engine/libbtanks_engine.so \
|
||||
build/release/mrt/libmrt.so \
|
||||
build/release/objects/libbt_objects.so \
|
||||
build/release/sdlx/libsdlx.so \
|
||||
$appsDir/btanks/lib/
|
||||
cp data/tiles/icon.png $appsDir/btanks/
|
||||
cp resources.dat $appsDir/btanks/
|
||||
}
|
||||
Reference in New Issue
Block a user