mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
* Referring the current haiku version explicitly is not needed, since the RequiresUpdater takes care of setting the version of Haiku used for building a package.
67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
Plaintext
SUMMARY="LGeneral is a turn-based strategy engine "
|
|
DESCRIPTION="LGeneral is a turn-based strategy engine heavily inspired by Panzer General. \
|
|
You play single scenarios or whole campaigns turn by turn against a human \
|
|
player or the AI. Entrenchment, rugged defense, defensive fire, surprise \
|
|
contacts, surrender, unit supply, weather influence, reinforcements and other \
|
|
implementations contribute to the tactical and strategic depth of the game."
|
|
HOMEPAGE="http://lgames.sourceforge.net/"
|
|
SRC_URI="http://downloads.sourceforge.net/project/lgeneral/lgeneral/lgeneral-1.2.3.tar.gz"
|
|
CHECKSUM_SHA256="55d17bb173c956c705b94bc8a6399d5311b3ec82c9f1821a97fe9ec45da0d9a1"
|
|
SRC_URI_2="http://prdownloads.sourceforge.net/lgeneral/pg-data.tar.gz"
|
|
CHECKSUM_SHA256_2="cc6fa5d263d1d5824d706517958b1bb09b405ba0ed21e63e4a4d38e2727d7a04"
|
|
REVISION="1"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="Michael Speck, Leo Savernik, Peter Ivanyi"
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
|
|
PATCHES="lgeneral-1.2.3.patch"
|
|
|
|
PROVIDES="
|
|
lgeneral = $portVersion
|
|
cmd:lgeneral = $portVersion
|
|
cmd:lgc_pg = $portVersion
|
|
cmd:lged = $portVersion
|
|
cmd:ltrextract = $portVersion
|
|
cmd:shptool = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku
|
|
lib:libsdl
|
|
lib:libsdl_mixer
|
|
lib:libsdl_net
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libsdl
|
|
devel:libsdl_mixer
|
|
devel:libsdl_net
|
|
devel:libintl
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:libtoolize
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
runConfigure ./configure --disable-nls
|
|
|
|
mkdir -p pg-data
|
|
cp ../../sources-2/pg-data/* ./pg-data/
|
|
|
|
make $jobArgs
|
|
}
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
$binDir/lgc-pg -s ./pg-data
|
|
addAppDeskbarSymlink $binDir/lgeneral LGeneral
|
|
}
|