mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 13:38:52 +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.
67 lines
1.7 KiB
Bash
67 lines
1.7 KiB
Bash
SUMMARY="A simple arcade game"
|
|
DESCRIPTION="BumpRace is a simple arcade game. You've to get from the start \
|
|
to the finish line without crashing into deadly blocks. This game has really \
|
|
simple rules!"
|
|
HOMEPAGE="http://www.linux-games.com/bumprace/"
|
|
COPYRIGHT="2016 Karl Bartel, Skaven"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="https://mirror.amdmi3.ru/distfiles/bumprace/$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="7ec7924982196a0c19a801cb32843ff0b0c76084a9712b1a8ba38002bae3b665"
|
|
SOURCE_FILENAME="bumprace-$portVersion.tar.bz2"
|
|
SOURCE_DIR="karlb-bumprace-047c7a593bcc"
|
|
PATCHES="karlb-bumprace-$portVersion.patch"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
bumprace$secondaryArchSuffix = $portVersion
|
|
app:BumpRace$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libSDL_1.2$secondaryArchSuffix
|
|
lib:libSDL_image_1.2$secondaryArchSuffix
|
|
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libSDL$secondaryArchSuffix
|
|
devel:libSDL_image$secondaryArchSuffix
|
|
devel:libSDL_mixer$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
aclocal
|
|
automake --add-missing
|
|
autoconf
|
|
runConfigure --omit-dirs binDir \
|
|
./configure --bindir=$appsDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $manDir/man6
|
|
make install
|
|
cp -f bumprace.6 $manDir/man6
|
|
mv $appsDir/bumprace $appsDir/BumpRace
|
|
addAppDeskbarSymlink $appsDir/BumpRace
|
|
}
|