mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
pingus: new recipe (#1511)
This commit is contained in:
committed by
Jérôme Duval
parent
89c999e9e0
commit
5e870c0375
65
games-puzzle/pingus/pingus-0.7.6.recipe
Normal file
65
games-puzzle/pingus/pingus-0.7.6.recipe
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
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="1"
|
||||||
|
SOURCE_URI="https://github.com/Pingus/pingus/archive/v0.7.6.tar.gz"
|
||||||
|
CHECKSUM_SHA256="c4cd89e1d350d2472f32de5f6266ac9f3658a3620eace3f79efac45db4323b65"
|
||||||
|
|
||||||
|
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
|
||||||
|
"
|
||||||
|
|
||||||
|
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
|
||||||
|
"
|
||||||
|
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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user