Files
haikuports/haiku-games/superfreecell/superfreecell-0.1.0.recipe
2015-07-02 11:13:12 -04:00

50 lines
1.0 KiB
Bash

SUMMARY="A freecell clone for Haiku"
DESCRIPTION="
SuperFreeCell is the native clone of FreeCell, a solitaire-based card game \
played with a 52-card standard deck.
"
HOMEPAGE="http://github.com/AdrianArroyoCalle/SuperFreeCell"
SOURCE_URI="git://github.com/AdrianArroyoCalle/SuperFreeCell#c2dc0320cfc3b461acae346ebf90e5b6501feb98"
LICENSE="MIT"
COPYRIGHT="2014-2015 Adrián Arroyo Calle"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
superfreecell$secondaryArchSuffix = $portVersion
app:superfreecell$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:cmake
cmd:make
"
BUILD()
{
cmake .
make
}
INSTALL()
{
mkdir -p $appsDir
cp SuperFreeCell $appsDir/SuperFreeCell
addAppDeskbarSymlink $appsDir/SuperFreeCell
}