mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
59 lines
1.3 KiB
Bash
59 lines
1.3 KiB
Bash
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://gitorious.org/puri-master-of-chess/puri/"
|
|
COPYRIGHT="2010-2012 Haiku Inc."
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://gitorious.org/puri-master-of-chess/puri/archive/59b5db4b337fc432b64a7d099f7b7e0fc8ece3c7.tar.gz"
|
|
CHECKSUM_SHA256="9635f5af5c154855dfe6a1496caa3373dcabc4fe875039cd0f05c438576e83cd"
|
|
SOURCE_DIR="puri-master-of-chess-puri"
|
|
SOURCE_FILENAME="puri-$portVersion.tar.gz"
|
|
|
|
ARCHITECTURES="?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
Puri$secondaryArchSuffix = $portVersion
|
|
app:Puri$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libpng$secondaryArchSuffix
|
|
lib:libglu$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libglu$secondaryArchSuffix
|
|
devel:libpng$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
gcc$secondaryArchSuffix
|
|
cmd:jam
|
|
cmd:ar$secondaryArchSuffix
|
|
cmd:as$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:ranlib$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
jam
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd source
|
|
|
|
mkdir -p $appsDir/Puri
|
|
|
|
cp Puri $appsDir/Puri
|
|
addAppDeskbarSymlink $appsDir/Puri/Puri
|
|
|
|
cp -R data $appsDir/Puri/data
|
|
cp -R Engines $appsDir/Puri/Engines
|
|
chmod 755 $appsDir/Puri/Engines/stockfish
|
|
}
|