From 7a1c1eb35a0eb418fd6f2eab54aefe7f40b2a39d Mon Sep 17 00:00:00 2001 From: begasus Date: Mon, 25 Aug 2014 20:37:48 +0200 Subject: [PATCH] lpairs new recipe and patch file for version 1.0.4 --- games-puzzle/lpairs/lpairs-1.0.4.recipe | 50 +++++++++++++++++++ .../lpairs/patches/lpairs-1.0.4.patch | 11 ++++ 2 files changed, 61 insertions(+) create mode 100644 games-puzzle/lpairs/lpairs-1.0.4.recipe create mode 100644 games-puzzle/lpairs/patches/lpairs-1.0.4.patch diff --git a/games-puzzle/lpairs/lpairs-1.0.4.recipe b/games-puzzle/lpairs/lpairs-1.0.4.recipe new file mode 100644 index 000000000..04b9e9ba2 --- /dev/null +++ b/games-puzzle/lpairs/lpairs-1.0.4.recipe @@ -0,0 +1,50 @@ +SUMMARY="LPairs is a classical memory game." +DESCRIPTION="LPairs is a classical memory game. This means you have to \ +find pairs of identical cards which will then be removed. Your time and \ +tries needed will be counted but there is no highscore chart or limit to this." +HOMEPAGE="http://lgames.sourceforge.net/" +SRC_URI="http://sourceforge.net/projects/lgames/files/lpairs/lpairs-1.0.4.tar.gz" +CHECKSUM_SHA256="350237a51a5de6b2a557af687b4f16678056a0e8d8d96d7e395f6629481462c5" +REVISION="1" +LICENSE="GNU GPL v2" +COPYRIGHT="2001 Michael Speck" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PATCHES="lpairs-1.0.4.patch" + +PROVIDES=" + lpairs = $portVersion + cmd:lpairs = $portVersion +" + +REQUIRES=" + haiku >= $haikuVersion + lib:libsdl +" + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + devel:libsdl +" + +BUILD_PREREQUIRES=" + cmd:make + cmd:gcc + cmd:ld + cmd:libtoolize +" + +BUILD() +{ + libtoolize --force --copy --install + runConfigure ./configure --disable-nls + + make $jobArgs +} + +INSTALL() +{ + make install + + addAppDeskbarSymlink $binDir/lpairs LPairs +} diff --git a/games-puzzle/lpairs/patches/lpairs-1.0.4.patch b/games-puzzle/lpairs/patches/lpairs-1.0.4.patch new file mode 100644 index 000000000..c9f820fbf --- /dev/null +++ b/games-puzzle/lpairs/patches/lpairs-1.0.4.patch @@ -0,0 +1,11 @@ +--- lpairs-1.0.4/configure.org 2014-08-25 20:17:46.978059264 +0200 ++++ lpairs-1.0.4/configure 2014-08-25 20:13:42.108265472 +0200 +@@ -13034,7 +13034,7 @@ + localedir=$datadir/locale + locdir_flag="-DLOCALEDIR=\\\"$localedir\\\"" + +-inst_dir=$datadir/games/lpairs ++inst_dir=$datadir/lpairs + inst_flag="-DSRC_DIR=\\\"$inst_dir/\\\"" + + # Check whether --enable-install was given.