mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
94 lines
2.6 KiB
Bash
94 lines
2.6 KiB
Bash
SUMMARY="An action game similar to Tron and Nibbles"
|
|
DESCRIPTION="Heroes is similar to the Tron and Nibbles games of yore, but \
|
|
includes many graphical improvements and new game features. In it, you must \
|
|
maneuver a small vehicle around a world and collect powerups while avoiding \
|
|
obstacles, your opponents trails, and even your own trail."
|
|
HOMEPAGE="http://heroes.sourceforge.net/"
|
|
COPYRIGHT="2000-2002 Alexandre Duret-Lutz, Romual Genevois, \
|
|
Alexandre Liverneaux, Philippe Meisburger"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://prdownloads.sourceforge.net/heroes/heroes-0.21.tar.gz"
|
|
CHECKSUM_SHA256="1264981d37d0fa12905ca627e6329c22ae6db10a1abaf3ec9b9c7357d391b54f"
|
|
SOURCE_URI_2="http://prdownloads.sourceforge.net/heroes/heroes-data-1.5.tar.gz"
|
|
CHECKSUM_SHA256_2="af2af6b1fd83636db03d0d2aa77243d31dccd1cb14a20269ed765edb2bb4ff43"
|
|
SOURCE_URI_3="http://prdownloads.sourceforge.net/heroes/heroes-hq-sound-tracks-1.0.tar.gz"
|
|
CHECKSUM_SHA256_3="6e500ce83ba62d6acb7a92216af321de4214cd0cc0453b857ac4b5d64af65c0c"
|
|
SOURCE_URI_4="http://prdownloads.sourceforge.net/heroes/heroes-sound-effects-1.0.tar.gz"
|
|
CHECKSUM_SHA256_4="6872a5275af74252c8f2670e10a3e2b34fa470e819e5749c411fd19548cad3c5"
|
|
SOURCE_URI_5="http://prdownloads.sourceforge.net/heroes/heroes-sound-tracks-1.0.tar.gz"
|
|
CHECKSUM_SHA256_5="f4d6d39b7f19fa9c1ec5ffd6660966d22f26221faddb5a21a4733693d26c3ca9"
|
|
PATCHES="heroes-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
heroes = portVersion
|
|
cmd:heroes = $portVersion
|
|
cmd:heroes.sh = $portVersion
|
|
cmd:heroeslvl = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libintl
|
|
lib:libSDL_1.2
|
|
lib:libSDL_mixer_1.2
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libintl
|
|
devel:libSDL_1.2
|
|
devel:libSDL_mixer_1.2
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:pkg_config
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure --enable-html-doc=$docDir
|
|
make $jobArgs
|
|
cd $sourceDir2/heroes-data-1.5
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
cd $sourceDir3/heroes-hq-sound-tracks-1.0
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
cd $sourceDir4/heroes-sound-effects-1.0
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
cd $sourceDir5/heroes-sound-tracks-1.0
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
cd $sourceDir2/heroes-data-1.5
|
|
make install
|
|
cd $sourceDir3/heroes-hq-sound-tracks-1.0
|
|
make install
|
|
cd $sourceDir4/heroes-sound-effects-1.0
|
|
make install
|
|
cd $sourceDir5/heroes-sound-tracks-1.0
|
|
make install
|
|
|
|
addAppDeskbarSymlink $prefix/bin/heroes Heroes
|
|
}
|