mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 21:18:51 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
50 lines
1.1 KiB
Bash
50 lines
1.1 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="4"
|
|
SOURCE_URI="ftp://ftp.tuxpaint.org/unix/x/defendguin/src/defendguin-0.0.12.tar.gz"
|
|
CHECKSUM_SHA256="3c248bed480b291901b7509525dc952be6d28dfa47fd6f8e3fb9873f46017330"
|
|
PATCHES="defendguin-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
defendguin = $portVersion
|
|
cmd:defendguin = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libSDL_1.2
|
|
lib:libSDL_mixer_1.2
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libSDL
|
|
devel:libSDL_mixer
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs PREFIX=$prefix \
|
|
DATA_PREFIX=$dataDir/defendguin/ \
|
|
MAN_PREFIX=$documentationDir
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir
|
|
make install PREFIX=$prefix \
|
|
DATA_PREFIX=$dataDir/defendguin/ \
|
|
MAN_PREFIX=$documentationDir
|
|
addAppDeskbarSymlink $binDir/defendguin Defendguin
|
|
}
|