Clean up Puri recipe

This commit is contained in:
noryb009
2013-12-05 18:23:24 -05:00
parent 3a74b8ab00
commit 738ab3fd2d

View File

@@ -7,12 +7,9 @@ HOMEPAGE="https://gitorious.org/puri-master-of-chess/puri/"
SRC_URI="https://gitorious.org/puri-master-of-chess/puri/archive/59b5db4b337fc432b64a7d099f7b7e0fc8ece3c7.tar.gz"
CHECKSUM_MD5="467d00355e3450e9d3b1d126afcf06a6"
LICENSE="MIT"
COPYRIGHT="
2005-2007 Ingo Weinhold
2010-2012 Haiku Inc."
COPYRIGHT="2010-2012 Haiku Inc."
REVISION="1"
ARCHITECTURES="?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
@@ -38,15 +35,17 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
gcc$secondaryArchSuffix
binutils$secondaryArchSuffix
cmd:jam
cmd:ar$secondaryArchSuffix
cmd:as$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:ranlib$secondaryArchSuffix
"
SOURCE_DIR="puri-master-of-chess-puri"
BUILD()
{
export PATH="/bin/x86:$PATH"
jam
}
@@ -63,3 +62,4 @@ INSTALL()
cp -R Engines $appsDir/Puri/Engines
chmod 755 $appsDir/Puri/Engines/stockfish
}