mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
moleinvasion, added new recipe and patch file
This commit is contained in:
58
games-arcade/moleinvasion/moleinvasion-0.4.recipe
Normal file
58
games-arcade/moleinvasion/moleinvasion-0.4.recipe
Normal file
@@ -0,0 +1,58 @@
|
||||
SUMMARY="Mole Invasion is a 2D platform adventure game for TUX"
|
||||
DESCRIPTION="Mole Invasion is a 2D platform adventure game for TUX, \
|
||||
getting to kill the evil moles from the different scenarios."
|
||||
HOMEPAGE="http://moleinvasion.tuxfamily.org/"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="Guinns(coding), Skeespin(gfx), Bohwaz(music)"
|
||||
SRC_URI="ftp://download.tuxfamily.org/minvasion/packages/MoleInvasion-0.4.tar.bz2"
|
||||
CHECKSUM_SHA256="a011361f07c06d79a5ba6d110d7b06b59da2c57970515d24fab063fe991d922c"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PATCHES="moleinvasion-0.4.patch"
|
||||
|
||||
PROVIDES="
|
||||
cmd:moleinvasion = $portVersion
|
||||
cmd:moleinvasion_editlevel = $portVersion
|
||||
cmd:moleinvasion_editworld = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libgl
|
||||
lib:libsdl
|
||||
lib:libsdl_mixer
|
||||
lib:libsdl_image
|
||||
lib:libsdl_ttf
|
||||
lib:libsmpeg
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
devel:libsdl
|
||||
devel:libsdl_mixer
|
||||
devel:libsdl_image
|
||||
devel:libsdl_ttf
|
||||
devel:libsmpeg
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:find
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src
|
||||
make DESTDIR=$binDir FINALEXEDIR=$binDir FINALDATADIR=$dataDir
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p music
|
||||
cd src
|
||||
make install DESTDIR=$binDir
|
||||
make install-data DESTDIR=$dataDir
|
||||
addAppDeskbarSymlink $binDir/moleinvasion MoleInvasion
|
||||
}
|
||||
Reference in New Issue
Block a user