Merged in AdrianArroyoCalle/haikuports-superfreecell (pull request #517)

SuperFreeCell 0.1.0
This commit is contained in:
diversys
2015-04-02 14:03:22 +03:00

View File

@@ -0,0 +1,49 @@
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"
SRC_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
}