rezerwar, fix references to libSDL* (#4327)

This commit is contained in:
Schrijvers Luc
2019-11-02 18:37:21 +01:00
committed by Jérôme Duval
parent bff9bbba04
commit e0903e12cc

View File

@@ -1,7 +1,6 @@
SUMMARY="A puzzle game"
DESCRIPTION="
Rezerwar is a puzzle game that could be described as the illegitimate child of \
a known tetromino game and the average pipe game.
DESCRIPTION="Rezerwar is a puzzle game that could be described as the \
illegitimate child of a known tetromino game and the average pipe game. \
It runs on Linux, Windows, Nintendo Wii (homebrew), FreeBSD, Amiga OS, And \
Now Haiku!
The whole game was created with open-source software including graphics, \
@@ -9,49 +8,47 @@ sounds and musics. Feel free to contribute. The goal of this game is \
basically to create networks of water to make them disappear, a couple tricks \
and techniques will help you achieve this goal faster."
HOMEPAGE="http://tamentis.com/projects/rezerwar/"
COPYRIGHT="2008, 2009 Bertrand Janin"
COPYRIGHT="2008-2009 Bertrand Janin"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="http://tamentis.com/projects/rezerwar/files/rezerwar-0.4.2.tar.gz"
REVISION="2"
SOURCE_URI="http://tamentis.com/projects/rezerwar/files/rezerwar-$portVersion.tar.gz"
CHECKSUM_SHA256="a93ca501803c2fdac0fb695d9a1eeed45807307316d28d3eb8abac8849fcaf02"
PATCHES="rezerwar-0.4.2.patchset"
PATCHES="rezerwar-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
rezerwar = $portVersion
app:rezerwar = $portVersion
app:RezerWar = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
haiku
lib:libSDL_1.2
lib:libSDL_mixer_1.2
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
haiku_devel
devel:libSDL
devel:libSDL_mixer
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:gcc
cmd:make
cmd:sdl_config$secondaryArchSuffix
cmd:which
"
BUILD()
{
./configure
make
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/rezerwar
cp -r data $appsDir/rezerwar
#cp -r rezerwar $appsDir/rezerwar
cp src/rezerwar $appsDir/rezerwar/rezerwar
cp src/rezerwar $appsDir/rezerwar/RezerWar
addAppDeskbarSymlink $appsDir/rezerwar/rezerwar "Rezerwar"
addAppDeskbarSymlink $appsDir/rezerwar/RezerWar
}