mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
61 lines
1.3 KiB
Bash
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
|
|
}
|