From 5e870c03753ba296c7a338322db451f91171e58e Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 21 Sep 2017 17:48:59 +0200 Subject: [PATCH] pingus: new recipe (#1511) --- games-puzzle/pingus/pingus-0.7.6.recipe | 65 +++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 games-puzzle/pingus/pingus-0.7.6.recipe diff --git a/games-puzzle/pingus/pingus-0.7.6.recipe b/games-puzzle/pingus/pingus-0.7.6.recipe new file mode 100644 index 000000000..81dd87a9d --- /dev/null +++ b/games-puzzle/pingus/pingus-0.7.6.recipe @@ -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 +}