Files
haikuports/haiku-games/superfreecell/superfreecell-0.1.0.recipe
Jerome Duval 5c07e3da4f superfreecell: use a safe source.
enable x86_64.
2017-04-12 22:15:17 +02:00

48 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"
COPYRIGHT="2014-2015 Adrián Arroyo Calle"
LICENSE="MIT"
REVISION="1"
gitCommit="c2dc0320cfc3b461acae346ebf90e5b6501feb98"
SOURCE_URI="$HOMEPAGE/archive/$gitCommit.tar.gz"
CHECKSUM_SHA256="af3668423e0f6fe19ac1efbcd6696046c1a492b616390222b140524ca9161a94"
SOURCE_DIR="SuperFreeCell-$gitCommit"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
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
}