-
Notifications
You must be signed in to change notification settings - Fork 303
/
bumprace-1.5.6.recipe
66 lines (61 loc) · 1.66 KB
/
bumprace-1.5.6.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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
}