Files
haikuports/games-arcade/pachi/pachi-1.0.recipe
2015-11-28 11:01:29 +00:00

57 lines
1.2 KiB
Bash

SUMMARY="A cool 2D platforming game"
DESCRIPTION="Pachi el marciano is a cool 2D platforming game inspired by games like \
Manic Miner, Jet set Willy and more from the 80s."
HOMEPAGE="http://dragontech.sourceforge.net/index.php?lang=en&main=about"
COPYRIGHT="2004 Santiago Radeff, Nicolas Radeff, Peter Hajba"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/dragontech/files/Pachi%20el%20marciano/Pachi%20el%20marciano%201.0/pachi_source.tgz"
CHECKSUM_SHA256="134a51773d5e441dc31aed4e57b3543afdefe2d8efedeaa05acb85cac0fa9c52"
SOURCE_DIR="Pachi"
PATCHES="pachi-$portVersion.patch"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
pachi = $portVersion
app:pachi = $portVersion
"
REQUIRES="
haiku
lib:libsdl
lib:libsdl_image
lib:libsdl_mixer
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
devel:libsdl_image
devel:libsdl_mixer
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc
cmd:libtoolize
cmd:make
"
BUILD()
{
libtoolize -fci
aclocal -I m4
automake --add-missing --force-missing
./configure --prefix=$appsDir/Pachi
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/Pachi
make install
ln -s $appsDir/Pachi/bin/pachi $appsDir/Pachi/Pachi
addAppDeskbarSymlink $appsDir/Pachi/bin/pachi Pachi
}