Files
haikuports/games-puzzle/lpairs/lpairs-1.0.4.recipe
Shiroko bd9ef372da Fix 4 building failed in x86_64 issues. (#1993)
* Fix bdhcalc

* Fix ppviewer

* Fix helios

* Fix lpairs

* Remove autoreconf

* Remove 'x'

* Update helios-1.7.2.recipe

* revision update

* Change arch variable

* x86_64 issues has been fixed upstream

* patches of ppviewer hass been merged to upstream

* Patches of BDH-Calc has been merged to upstream
2018-01-02 11:44:13 -08:00

55 lines
1.1 KiB
Bash

SUMMARY="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/"
COPYRIGHT="2001 Michael Speck"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://sourceforge.net/projects/lgames/files/lpairs/lpairs-1.0.4.tar.gz"
CHECKSUM_SHA256="350237a51a5de6b2a557af687b4f16678056a0e8d8d96d7e395f6629481462c5"
PATCHES="lpairs-1.0.4.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
lpairs = $portVersion
cmd:lpairs = $portVersion
"
REQUIRES="
haiku
lib:libsdl
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
"
BUILD_PREREQUIRES="
cmd:make
cmd:g++
cmd:ld
cmd:libtoolize
"
if [ "$effectiveTargetArchitecture" == "x86_64" ] ; then
PATCHES="lpairs-1.0.4.patchset"
fi
BUILD()
{
libtoolize --force --copy --install
runConfigure ./configure --disable-nls --disable-dependency-tracking
make $jobArgs
}
INSTALL()
{
make install
rm -rf $dataDir/applications
rm -rf $dataDir/icons
addAppDeskbarSymlink $binDir/lpairs LPairs
}