lpairs new recipe and patch file for version 1.0.4

This commit is contained in:
begasus
2014-08-25 20:37:48 +02:00
parent c23229c840
commit 7a1c1eb35a
2 changed files with 61 additions and 0 deletions

View File

@@ -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
}

View File

@@ -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.