Files
haikuports/haiku-games/superfreecell/superfreecell-0.1.0.recipe
Augustin Cavalier 55dd9cf19d Rewrite ARCHITECTURES syntax to new HaikuPorter changes.
HaikuPorter now does not care what is in ARCHITECTURES when
building for a SECONDARY_ARCHITECTURE.
2015-08-04 12:00:38 -04:00

47 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"
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"
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
}