lmarbles, fix references to libSDL* (#4149)

This commit is contained in:
Schrijvers Luc
2019-08-31 00:04:45 +02:00
committed by waddlesplash
parent 730bce93e1
commit 63d592007a

View File

@@ -9,7 +9,7 @@ and not a time limit. This way you have as much time as you need to think."
HOMEPAGE="http://lgames.sourceforge.net/"
COPYRIGHT="2000 Michael Speck"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="3"
SOURCE_URI="http://sourceforge.net/projects/lgames/files/lmarbles/lmarbles-1.0.8.tar.gz"
CHECKSUM_SHA256="0e5a16a0116d325589b28f3555ced6a0b486f0fd7632cd3d98bee5cddf213e83"
PATCHES="lmarbles-1.0.8.patchset"
@@ -23,41 +23,39 @@ PROVIDES="
"
REQUIRES="
haiku
lib:libsdl
lib:libsdl_mixer
lib:libSDL_1.2
lib:libSDL_mixer_1.2
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
devel:libsdl_mixer
devel:libSDL
devel:libSDL_mixer
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
cmd:xres
"
BUILD()
{
libtoolize --force --copy --install
runConfigure ./configure
autoreconf -vfi
runConfigure --omit-dirs binDir \
./configure --bindir=$appsDir
make $jobArgs
addResourcesToBinaries $portDir/additional-files/lmarbles.rdef src/lmarbles
}
INSTALL()
{
make install
mkdir -p $appsDir
mv $binDir/lmarbles $appsDir/LMarbles
mv $appsDir/lmarbles $appsDir/LMarbles
rm $localStateDir/lmarbles.prfs
rm -rf $dataDir/applications
rm -rf $dataDir/icons
rm -rf $dataDir/{applications,icons}
addResourcesToBinaries $portDir/additional-files/lmarbles.rdef $appsDir/LMarbles
addAppDeskbarSymlink $appsDir/LMarbles LMarbles
mimeset -f $appsDir/LMarbles