mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01: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
|
||||
}
|
||||
|
||||
@@ -27,17 +27,6 @@
|
||||
|
||||
OBJS = graphics.o font.o list.o sprite.o events.o editor_texts.o \
|
||||
Splayer.o Sother.o background.o video.o tool.o \
|
||||
@@ -22,8 +22,8 @@
|
||||
WINEDT = ../win/editor.exe
|
||||
WINEDW = ../win/editworld.exe
|
||||
|
||||
-FINALEXEDIR=$(DESTDIR)/usr/games
|
||||
-FINALDATADIR=$(DESTDIR)/usr/share/games/moleinvasion
|
||||
+FINALEXEDIR=$(DESTDIR)
|
||||
+FINALDATADIR=$(DESTDIR)
|
||||
|
||||
CFLAGS+=-DDATADIR='"$(FINALDATADIR)"'
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
mkdir -p $(FINALDATADIR)/lvl
|
||||
mkdir -p $(FINALDATADIR)/txt
|
||||
|
||||
@@ -4,7 +4,7 @@ getting to kill the evil molesfrom the different scenarios."
|
||||
HOMEPAGE="ftp://download.tuxfamily.org/minvasion/music"
|
||||
COPYRIGHT="BohwaZ"
|
||||
LICENSE="LALv1.2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="ftp://download.tuxfamily.org/minvasion/music/02-La_nuit_de_Monsieur_Personne.ogg#noarchive"
|
||||
CHECKSUM_SHA256="c93bedeb0dcd75473edbb9ff23fa8a23524ad4810ad0d3751b68f853528d0e13"
|
||||
SOURCE_URI_2="ftp://download.tuxfamily.org/minvasion/music/04-A_travers_la_fenetre.ogg#noarchive"
|
||||
@@ -75,12 +75,12 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
true
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/MoleInvasion/music
|
||||
cp *.ogg $appsDir/MoleInvasion/music
|
||||
cp ../../sources*/*.ogg $appsDir/MoleInvasion/music
|
||||
mkdir -p $dataDir/MoleInvasion/music
|
||||
cp *.ogg $dataDir/MoleInvasion/music
|
||||
cp ../../sources*/*.ogg $dataDir/MoleInvasion/music
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user