mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
moleinvasion(music), fix references to libSDL*, fix install paths (#4033)
* moleinvasion(music), fix references to libSDL*, fix install paths
This commit is contained in:
@@ -2,9 +2,11 @@ SUMMARY="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/"
|
||||
COPYRIGHT="Guinns(coding), Skeespin(gfx), Bohwaz(music)"
|
||||
COPYRIGHT="2004-2008 Guinns(coding)
|
||||
2004-2008 Skeespin(gfx)
|
||||
2004-2008 Bohwaz(music)"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="ftp://download.tuxfamily.org/minvasion/packages/MoleInvasion-0.4.tar.bz2"
|
||||
CHECKSUM_SHA256="a011361f07c06d79a5ba6d110d7b06b59da2c57970515d24fab063fe991d922c"
|
||||
PATCHES="moleinvasion-0.4.patch"
|
||||
@@ -19,20 +21,20 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libgl
|
||||
lib:libsdl
|
||||
lib:libsdl_image
|
||||
lib:libsdl_mixer
|
||||
lib:libsdl_ttf
|
||||
lib:libGL
|
||||
lib:libSDL_1.2
|
||||
lib:libSDL_image_1.2
|
||||
lib:libSDL_mixer_1.2
|
||||
lib:libSDL_ttf_2.0
|
||||
lib:libsmpeg
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libsdl
|
||||
devel:libsdl_image
|
||||
devel:libsdl_mixer
|
||||
devel:libsdl_ttf
|
||||
devel:libSDL
|
||||
devel:libSDL_image
|
||||
devel:libSDL_mixer
|
||||
devel:libSDL_ttf
|
||||
devel:libsmpeg
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
@@ -44,15 +46,17 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
cd src
|
||||
make DESTDIR=$appsDir/MoleInvasion FINALEXEDIR=$appsDir/MoleInvasion \
|
||||
FINALDATADIR=$appsDir/MoleInvasion
|
||||
make FINALEXEDIR=$binDir \
|
||||
FINALDATADIR=$dataDir/MoleInvasion
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir $manDir/man6
|
||||
cp debian/*.6 $manDir/man6
|
||||
cd src
|
||||
make install DESTDIR=$appsDir/MoleInvasion
|
||||
make install-data DESTDIR=$appsDir/MoleInvasion
|
||||
mv $appsDir/MoleInvasion/moleinvasion $appsDir/MoleInvasion/MoleInvasion
|
||||
addAppDeskbarSymlink $appsDir/MoleInvasion/MoleInvasion
|
||||
make install FINALEXEDIR=$binDir
|
||||
make install-data FINALDATADIR=$dataDir/MoleInvasion
|
||||
mv $binDir/moleinvasion $appsDir/MoleInvasion
|
||||
addAppDeskbarSymlink $appsDir/MoleInvasion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user