diff --git a/games-action/heroes/heroes-0.21.recipe b/games-action/heroes/heroes-0.21.recipe new file mode 100644 index 000000000..c63805256 --- /dev/null +++ b/games-action/heroes/heroes-0.21.recipe @@ -0,0 +1,63 @@ +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/" +SRC_URI="http://prdownloads.sourceforge.net/heroes/heroes-0.21.tar.gz" +CHECKSUM_SHA256="1264981d37d0fa12905ca627e6329c22ae6db10a1abaf3ec9b9c7357d391b54f" +SRC_URI_2="http://prdownloads.sourceforge.net/heroes/heroes-data-1.5.tar.gz" +CHECKSUM_SHA256_2="af2af6b1fd83636db03d0d2aa77243d31dccd1cb14a20269ed765edb2bb4ff43" +REVISION="1" +LICENSE="GNU GPL v2" +COPYRIGHT="2000-2002 Alexandre Duret-Lutz, \ +Romual Genevois, \ +Alexandre Liverneaux, \ +Philippe Meisburger" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + heroes = portVersion + app:heroes = $portVersion + cmd:heroeslvl = $portVersion +" + +REQUIRES=" + haiku + lib:libintl + lib:libsdl + lib:libsdl_mixer +" + +BUILD_REQUIRES=" + haiku_devel + devel:libintl + devel:libsdl + devel:libsdl_mixer +" + +BUILD_PREREQUIRES=" + cmd:gcc + cmd:libtoolize + cmd:make +" + +BUILD() +{ + libtoolize -fci + ./configure --prefix=$appsDir/Heroes + make $jobArgs + cd ../../sources-2/heroes-data-1.5 + libtoolize -fci + ./configure --prefix=$appsDir/Heroes + make $jobArgs +} + +INSTALL() +{ + mkdir -p $appsDir/Heroes + make install + cd ../../sources-2/heroes-data-1.5 + make install +}