Files
haikuports/games-arcade/defendguin/defendguin-0.0.12.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

50 lines
1.0 KiB
Bash

SUMMARY="A Linux-themed clone of the arcade game Defender"
DESCRIPTION="Defendguin is a clone of the arcade game Defender,\
but with a Linux theme. Your mission is to defend little penguinoids \
from being captured and mutated."
HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
COPYRIGHT="1999-2009 Bill Kendrick"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="ftp://ftp.tuxpaint.org/unix/x/defendguin/src/defendguin-0.0.12.tar.gz"
CHECKSUM_SHA256="3c248bed480b291901b7509525dc952be6d28dfa47fd6f8e3fb9873f46017330"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
defendguin = $portVersion
cmd:defendguin = $portVersion
"
REQUIRES="
haiku
lib:libsdl
lib:libsdl_mixer
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
devel:libsdl_mixer
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
"
PATCH()
{
sed -i "s/-lm//g" Makefile
}
BUILD()
{
make $jobArgs PREFIX=$appsDir/Defendguin
}
INSTALL()
{
mkdir -p $appsDir/Defendguin/bin
make install PREFIX=$appsDir/Defendguin
addAppDeskbarSymlink $appsDir/Defendguin/bin/defendguin defendguin
}