Files
haikuports/games-emulation/ja2_stracciatella/ja2_stracciatella-0.12.1.recipe
2016-02-17 14:39:36 -05:00

46 lines
1.1 KiB
Bash

SUMMARY="Open-source clone of the original Jagged Alliance 2"
DESCRIPTION="The goal of this project is to make Jagged Alliance 2 available \
to wide range of platforms."
HOMEPAGE="https://bitbucket.org/gennady/ja2-stracciatella"
COPYRIGHT="2007-2009 Straciatella Team"
LICENSE="SFI"
REVISION="1"
SOURCE_URI="https://web.archive.org/web/20091106095717/http://tron.homeunix.org/ja2/ja2-$portVersion-source.tar.bz2"
CHECKSUM_SHA256="c29bef2b4ba3f28b808b18d3d4c4388be85f255e9c6d9c355b8080de33fc18d1"
SOURCE_DIR="ja2-$portVersion"
PATCHES="ja2_stracciatella-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 ?x86_64 ?x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
ja2_stracciatella = $portVersion
app:JaggedAlliance2
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
make LNG=ENGLISH PREFIX=$appsDir
}
INSTALL()
{
make install LNG=ENGLISH
mkdir -p $appsDir
cp $sourceDir/ja2 $appsDir/JaggedAlliance2
}