Files
haikuports/games-arcade/alex4/alex4-1.0.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

68 lines
1.7 KiB
Bash

SUMMARY="A small jump'n'run platform game"
DESCRIPTION="Alex the Allegator 4 is a true jump'n'run, just like the old \
classic ones. Guide Alex through the jungle in order to save his girlfriend \
Lola from evil humans who want to make a bag of her."
HOMEPAGE="https://sourceforge.net/projects/allegator/files/Alex4/"
COPYRIGHT="2003 Johan Peitz"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://downloads.sourceforge.net/allegator/alex4src_data.zip"
CHECKSUM_SHA256="d266d7fba64fbfedf13240d3d0eb21b8bacbedeaa5f22b26a27d472c8d23f103"
SOURCE_URI_2="http://downloads.sourceforge.net/allegator/alex4_beos_src.zip"
CHECKSUM_SHA256_2="b5333034638c19643a7bd8f6e54033b10b354bbcd4e8771b4ac7cd4a33c9e7cf"
SOURCE_DIR="alex4src"
SOURCE_DIR_2="alex4_BeOS_src"
PATCHES_2="alex4-$portVersion.patch"
# TODO: Check if it would be OK to also import the patches in:
# http://data.gpo.zugaina.org/gamerlay/games-arcade/alex4/files/
# and sync with alex4-1.1 in http://gpo.zugaina.org/games-arcade/alex4
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
alex4 = $portVersion
app:Alex4 = $portVersion
"
REQUIRES="
haiku
lib:libaldmb_0.9.3
lib:liballeg
lib:libdumb_0.9.3
"
BUILD_REQUIRES="
haiku_devel
devel:libaldmb
devel:liballeg
devel:libdumb
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:patch
"
PATCH()
{
patch -p6 -u -i $sourceDir2/alex4_BeOS.diff
}
BUILD()
{
cp $sourceDir2/Makefile src
cp $sourceDir2/alex4.rsrc .
make -C src $jobArgs
}
INSTALL()
{
install -m 755 -d $appsDir/Alex4BeOS $appsDir/Alex4BeOS/data
install -m 444 -t $appsDir/Alex4BeOS readme.txt
install -m 444 -t $appsDir/Alex4BeOS/data data/*
install -T alex4 $appsDir/Alex4BeOS/Alex4
addAppDeskbarSymlink $appsDir/Alex4BeOS/Alex4
ln -s Alex4BeOS/Alex4 $appsDir
}