mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
64 lines
1.4 KiB
Bash
64 lines
1.4 KiB
Bash
SUMMARY="A destructive shooting game"
|
|
DESCRIPTION="Barrage is a rather destructive action game that puts you on a \
|
|
shooting range with the objective to hit as many dummy targets as possible \
|
|
within 3 minutes. You control a gun that may either fire small or large \
|
|
grenades at soldiers, jeeps and tanks. Targets are fast paced and require \
|
|
careful aiming as it takes half a second to reload the gun. In addition, \
|
|
you have to keep an eye on your ammo and reload in time."
|
|
HOMEPAGE="http://lgames.sourceforge.net/"
|
|
COPYRIGHT="2003-2019 Michael Speck"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://downloads.sourceforge.net/project/lgames/barrage/barrage-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="a78897ab6a8cf6d53d4093bb8abae204ddfa3a22c5cab9e76220e4987de76904"
|
|
PATCHES="barrage-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="?all x86_gcc2"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
var/games/barrage/barrage.hscr keep-old
|
|
"
|
|
|
|
PROVIDES="
|
|
barrage = portVersion
|
|
cmd:barrage = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libSDL_1.2
|
|
lib:libSDL_mixer_1.2
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libSDL
|
|
devel:libSDL_mixer
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:awk
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure --omit-dirs binDir ./configure \
|
|
--bindir=$appsDir
|
|
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mv $appsDir/barrage $appsDir/Barrage
|
|
|
|
addAppDeskbarSymlink $appsDir/Barrage
|
|
}
|