Files
haikuports/haiku-games/superfreecell/superfreecell-0.1.0.recipe
2016-02-26 10:33:51 -05:00

45 lines
933 B
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"
SOURCE_URI="git://github.com/AdrianArroyoCalle/SuperFreeCell#c2dc0320cfc3b461acae346ebf90e5b6501feb98"
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
}