mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
65 lines
1.6 KiB
Bash
65 lines
1.6 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="2007 Karl Bartel, Skaven"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://bitbucket.org/karlb/bumprace/get/1.5.5.tar.gz"
|
|
CHECKSUM_SHA256="ccc9841f17948b2a3fe3ff90c738029921d1794608ca5cf22f1b15a556bd746f"
|
|
SOURCE_DIR="karlb-bumprace-034aca498e89"
|
|
|
|
PATCHES="karlb-bumprace-$portVersion.patch"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
bumprace$secondaryArchSuffix = $portVersion
|
|
app:BumpRace$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libsdl$secondaryArchSuffix
|
|
lib:libsdl_image$secondaryArchSuffix
|
|
lib:libsdl_mixer$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:automake
|
|
cmd:autoconf
|
|
cmd:aclocal
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
aclocal
|
|
automake --add-missing
|
|
sed -i 's/-lm//g' configure
|
|
./configure --prefix=$appsDir/BumpRace
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
mv $appsDir/BumpRace/bin/bumprace $appsDir/BumpRace/BumpRace
|
|
rm -r $appsDir/BumpRace/bin
|
|
addAppDeskbarSymlink $appsDir/BumpRace/BumpRace BumpRace
|
|
}
|