Files
haikuports/haiku-games/w6/w6-1.7.recipe
2018-08-09 11:26:07 +02:00

52 lines
1.2 KiB
Bash

SUMMARY="A strategy game simulating a world wide war"
DESCRIPTION="\"What Went Wrong? it's a World Wide War!\" features a worldmap \
with every single country on this planet including Swaziland (great hello to \
all of you Swaziland BeOS users). It has real data for every country in the \
world (at least in the 70's), including population, PNB etc.
Using the editor, you can let the computer play alone and turn it in kind of \
war simulation software."
HOMEPAGE="https://github.com/HaikuArchives/W6/"
COPYRIGHT="1998-1999 Santiago Lema"
LICENSE="MIT"
REVISION="2"
srcGitRev="bc2f91183e159804ef8ce3773bf562a132e1ebb7"
SOURCE_URI="https://github.com/HaikuArchives/W6/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="91d11c2eeffd73684041615c9acbaaaedea29680eba553c3064bb394a582bc84"
SOURCE_DIR="W6-$srcGitRev"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
w6 = $portVersion
app:w6 = $portVersion
"
REQUIRES="
haiku
lib:libpng
"
BUILD_REQUIRES="
haiku_devel
devel:libpng
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
BUILD()
{
cd sources
make $jobArgs
}
INSTALL()
{
APPDIR=$appsDir/W6
mkdir -p $APPDIR
cp -r dist/* $APPDIR/
addAppDeskbarSymlink $APPDIR/W6
}