Files
haikuports/games-arcade/penguin_command/penguin_command-1.6.11.recipe

56 lines
1.2 KiB
Bash

SUMMARY="A clone of the classic Missile Command game"
DESCRIPTION="Penguin Command is a clone of the classic Missile Command game, \
but has better graphics and sound. The gameplay has been slightly modified."
HOMEPAGE="http://www.linux-games.com/penguin-command/"
COPYRIGHT="2007 Karl Bartel, Skaven"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://downloads.sf.net/penguin-command/penguin-command-$portVersion.tar.gz"
CHECKSUM_SHA256="659c7b5f3f968f386e820cf7387d88c0a61c17dfbdb005bd85f8e93c537e89d6"
SOURCE_DIR="penguin-command-$portVersion"
PATCHES="penguin-command-$portVersion.patch"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
penguin_command = $portVersion
app:PenguinCommand = $portVersion
"
REQUIRES="
haiku
lib:libSDL_1.2
lib:libSDL_image_1.2
lib:libSDL_mixer_1.2
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libSDL
devel:libSDL_image
devel:libSDL_mixer
devel:libz
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:awk
cmd:gcc
cmd:make
"
BUILD()
{
autoreconf -vfi
runConfigure --omit-dirs binDir ./configure \
--bindir=$appsDir
make $jobArgs
}
INSTALL()
{
make install
mv $appsDir/penguin-command $appsDir/PenguinCommand
addAppDeskbarSymlink $appsDir/PenguinCommand
}