Files
haikuports/games-puzzle/pingus/pingus-0.7.6.recipe
2017-09-23 23:01:07 +02:00

69 lines
1.8 KiB
Bash

SUMMARY="Free Lemmings clone"
DESCRIPTION="Pingus is a free Lemmings(tm) clone for GNU/Linux, Win32 and \
other operating systems supported by SDL. It is covered under the GPL."
HOMEPAGE="https://pingus.seul.org"
COPYRIGHT="1998-2011 Ingo Ruhnke"
LICENSE="GNU GPL v3"
REVISION="3"
SOURCE_URI="https://github.com/Pingus/pingus/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="c4cd89e1d350d2472f32de5f6266ac9f3658a3620eace3f79efac45db4323b65"
PATCHES="pingus-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
pingus$secondaryArchSuffix = $portVersion
app:Pingus$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libboost_signals$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libglu$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_signals$secondaryArchSuffix
devel:libGL$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:scons
"
BUILD()
{
scons BINDIR=$appsDir/Pingus \
DATADIR=$appsDir/Pingus/data \
MANDIR=$manDir $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/Pingus/data
make install BINDIR=$appsDir/Pingus \
DATADIR=$appsDir/Pingus/data \
MANDIR=$manDir
addAppDeskbarSymlink $appsDir/Pingus/pingus Pingus
}