0
0
Fork 0
haikuports/games-puzzle/lpairs/lpairs-1.0.5.recipe

61 lines
1.3 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-2018 Michael Speck"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://sourceforge.net/projects/lgames/files/lpairs/lpairs-$portVersion.tar.gz"
CHECKSUM_SHA256="57afe33d2a83229c3cff5efa6512fd2eeac4eacb92d37dd3070db6bbb024dc16"
PATCHES="lpairs-$portVersion.patchset"
ADDITIONAL_FILES="lpairs.rdef"
ARCHITECTURES="all"
PROVIDES="
lpairs = $portVersion
cmd:lpairs = $portVersion
"
REQUIRES="
haiku
lib:libintl
lib:libSDL_1.2
"
BUILD_REQUIRES="
haiku_devel
devel:libintl
devel:libSDL_1.2
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:awk
cmd:bison
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
"
BUILD()
{
autoreconf -vfi
LDFLAGS=-lintl runConfigure --omit-dirs binDir \
./configure --bindir=$appsDir --disable-dependency-tracking
make $jobArgs
}
INSTALL()
{
make install
mv $appsDir/lpairs $appsDir/LPairs
rm -rf $dataDir/{applications,icons}
addResourcesToBinaries $portDir/additional-files/lpairs.rdef $appsDir/LPairs
addAppDeskbarSymlink $appsDir/LPairs
}