0
0
Fork 0
haikuports/haiku-games/puri/puri-0.3.9.1.recipe

62 lines
1.4 KiB
Bash
Raw Permalink Normal View History

2015-08-04 05:25:40 +00:00
SUMMARY="A 2D and 3D chess game"
DESCRIPTION="Puri is a 2D and 3D chess game. You can play against a computer, or play \
online against other people."
HOMEPAGE="https://github.com/HaikuArchives/Puri/"
2015-08-04 05:25:40 +00:00
COPYRIGHT="2010-2012 Haiku Inc."
LICENSE="MIT"
REVISION="2"
2018-08-07 09:03:27 +00:00
srcGitRev="7f94abc9e8022b3e25eb4563b7fe45a4db360dfb"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="81956261b2e64ce26b481963b94d80c8512a73730d372669ee5a511309958121"
2018-08-07 09:03:27 +00:00
SOURCE_FILENAME="puri-$srcGitRev.tar.gz"
SOURCE_DIR="Puri-$srcGitRev"
PATCHES="puri-$portVersion.patchset"
ARCHITECTURES="all ?x86"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
Puri$secondaryArchSuffix = $portVersion
app:Puri$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
2018-08-09 09:26:07 +00:00
cmd:stockfish
lib:lib3ds$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libglu$secondaryArchSuffix
2018-08-09 09:26:07 +00:00
lib:libpng16$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:lib3ds$secondaryArchSuffix
devel:libgl$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
"
BUILD_PREREQUIRES="
gcc$secondaryArchSuffix
2013-12-05 23:23:24 +00:00
cmd:ar$secondaryArchSuffix
cmd:as$secondaryArchSuffix
2018-08-09 09:26:07 +00:00
cmd:jam
2013-12-05 23:23:24 +00:00
cmd:ld$secondaryArchSuffix
cmd:ranlib$secondaryArchSuffix
"
BUILD()
{
jam $jobArgs
2013-03-29 14:04:07 +00:00
}
INSTALL()
{
cd src
mkdir -p $appsDir/Puri
cp Puri $appsDir/Puri
addAppDeskbarSymlink $appsDir/Puri/Puri
cp -R data $appsDir/Puri/data
2013-03-29 14:04:07 +00:00
}