Files
haikuports/games-strategy/wesnoth/wesnoth-1.12.2.recipe
Augustin Cavalier 55dd9cf19d Rewrite ARCHITECTURES syntax to new HaikuPorter changes.
HaikuPorter now does not care what is in ARCHITECTURES when
building for a SECONDARY_ARCHITECTURE.
2015-08-04 12:00:38 -04:00

73 lines
2.5 KiB
Bash

SUMMARY="Turn-based tactical strategy game with a high fantasy theme"
DESCRIPTION="Build up a great army, gradually turning raw recruits into \
hardened veterans. In later games, recall your toughest warriors and form a \
deadly host whom none can stand against! Choose units from a large pool of \
specialists, and hand-pick a force with the right strengths to fight well on \
different terrains against all manner of opposition.
Wesnoth has many different sagas waiting to be played. Fight to regain the \
throne of Wesnoth, of which you are the legitimate heir... step into the \
boots of a young officer sent to guard a not-so-sleepy frontier outpost... \
lead a brutal quest to unite the orcish tribes... vanquish a horde of undead \
warriors unleashed by a foul necromancer, who also happens to have taken your \
brother hostage... guide a band of elvish survivors in an epic quest to find \
a new home... get revenge on the orcs by using the foul art of necromancy...
There are at least two hundred unit types, sixteen races, six major factions, \
and hundreds of years of history. The world of Wesnoth is absolutely huge and \
only limited by your creativity — make your own custom units, create your own \
maps, and write your own scenarios or even full-blown campaigns. You can also \
challenge up to eight friends—or strangers—and fight in epic multiplayer \
fantasy battles."
HOMEPAGE="http://wesnoth.org/"
COPYRIGHT="2003-2015 The Battle for Wesnoth"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/wesnoth/files/wesnoth-1.12/wesnoth-$portVersion/wesnoth-$portVersion.tar.bz2"
CHECKSUM_SHA256="1f4f76e5fd0ce175a3eb7b9855aff7a58dc75899c534d7653d97ac9fd4fe798b"
ARCHITECTURES="!x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
wesnoth$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
devel:libsdl_net$secondaryArchSuffix
devel:libsdl_ttf$secondaryArchSuffix
devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libvorbisfile$secondaryArchSuffix
devel:libboost_filesystem$secondaryArchSuffix
devel:libpangocairo_1.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
mkdir -p build
cd build
cmake ..
make $jobArgs
}
INSTALL()
{
cd build
make install
}