75 lines
2.1 KiB
Bash
75 lines
2.1 KiB
Bash
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?"
|
|
HOMEPAGE="http://btanks.sourceforge.net"
|
|
COPYRIGHT="2006-2009 Battle Tanks team
|
|
2007-2008 Netive Media Group
|
|
2005-2007 Vladimir Menshakov"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://downloads.sourceforge.net/project/btanks/btanks-source/btanks-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="3fd2ce6a2b45f7a60c3b114fa9aff13cb3dd9fbb6a65cdc9798b76c4fa2c4341"
|
|
PATCHES="btanks-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
btanks$secondaryArchSuffix = $portVersion
|
|
cmd:btanks$secondaryArchSuffix = $portVersion
|
|
cmd:bted$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libexpat$secondaryArchSuffix
|
|
lib:libGLU$secondaryArchSuffix
|
|
lib:liblua$secondaryArchSuffix
|
|
lib:libsdl$secondaryArchSuffix
|
|
lib:libsdl_image$secondaryArchSuffix
|
|
lib:libsmpeg$secondaryArchSuffix
|
|
lib:libvorbis$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libexpat$secondaryArchSuffix
|
|
devel:libglu$secondaryArchSuffix
|
|
devel:liblua$secondaryArchSuffix
|
|
devel:libsdl$secondaryArchSuffix
|
|
devel:libsdl_image$secondaryArchSuffix
|
|
devel:libsmpeg$secondaryArchSuffix
|
|
devel:libvorbis$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:scons
|
|
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/
|
|
}
|