0
0
Fork 0
haikuports/haiku-games/w6/w6-1.7.recipe

53 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="3"
srcGitRev="b1940f137e20efee91c0ae060509b7b8507a9159"
SOURCE_URI="https://github.com/HaikuArchives/W6/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="9a1a39307e3aa67d354af3603c1636cdfc14c22f7f7ed76f97a178112c3f08a0"
SOURCE_FILENAME="W6-$portVersion-$srcGitRev-tar.gz"
SOURCE_DIR="W6-$srcGitRev"
ARCHITECTURES="all ?x86"
PROVIDES="
w6 = $portVersion
app:w6 = $portVersion
"
REQUIRES="
haiku
lib:libpng16
"
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
}