forked from haikuports/haikuports
/
hex_a_hop-1.1.0.recipe
66 lines (60 loc) · 1.81 KB
/
hex_a_hop-1.1.0.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="Puzzle games based on hexagonal tiles"
DESCRIPTION="Hex-a-Hop is a hexagonal tile-based puzzle game with one simple \
goal: destroy all green tiles! There are infinite undos and no time limits -- \
you just have to find a way to destroy all the green tiles and step on a safe \
tile at the end.
As you progress through the game, more types of tiles are introduced which \
make things more difficult and interesting as you progress through the many \
levels. You can use the infinite undo feature to retrace your steps if you \
make a mistake."
HOMEPAGE="https://hexahop.sourceforge.net"
COPYRIGHT="2005-2007 Tom Beaumont"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/project/hexahop/$portVersion/hex-a-hop-$portVersion.tar.gz"
CHECKSUM_SHA256="80bf19d936a8430cab5bc468ee6827c38052e026c609eb7ece16317e7932a0d6"
SOURCE_DIR="hex-a-hop-$portVersion"
PATCHES="hex_a_hop-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
hex_a_hop$secondaryArchSuffix = $portVersion
app:hex_a_hop = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
lib:libSDL_mixer_1.2$secondaryArchSuffix
lib:libSDL_ttf_2.0$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libSDL_1.2$secondaryArchSuffix
devel:libSDL_mixer_1.2$secondaryArchSuffix
devel:libSDL_ttf_2.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoheader
cmd:autoreconf
cmd:automake
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
BUILD()
{
libtoolize -fci
autoreconf -vfi
automake --add-missing
runConfigure --omit-dirs "binDir dataRootDir" \
./configure --bindir=$appsDir
make $jobArgs
}
INSTALL()
{
make install
mv $appsDir/hex-a-hop $appsDir/Hex-a-hop
addAppDeskbarSymlink $appsDir/Hex-a-hop
}