mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
ltris: fix references to libSDL* (#4288)
This commit is contained in:
committed by
Jérôme Duval
parent
20131b6573
commit
7db310ed9e
@@ -6,7 +6,7 @@ units with the aim of building lines without gaps which then disappear \
|
||||
HOMEPAGE="http://lgames.sourceforge.net/"
|
||||
COPYRIGHT="2002-2011 Michael Speck"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://sourceforge.net/projects/lgames/files/ltris/ltris-1.0.19.tar.gz"
|
||||
CHECKSUM_SHA256="8f6a9e7719d22004aee153db29ffd9ca41c7a6cd87fc791591994eecc2e625a1"
|
||||
PATCHES="ltris-1.0.19.patchset"
|
||||
@@ -15,22 +15,24 @@ ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
ltris = $portVersion
|
||||
cmd:ltris = $portVersion
|
||||
app:LTris = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libintl
|
||||
lib:libsdl
|
||||
lib:libsdl_mixer
|
||||
lib:libSDL_1.2
|
||||
lib:libSDL_mixer_1.2
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libintl
|
||||
devel:libsdl
|
||||
devel:libsdl_mixer
|
||||
devel:libSDL
|
||||
devel:libSDL_mixer
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:libtoolize
|
||||
@@ -39,20 +41,22 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
LDFLAGS=-lintl runConfigure ./configure
|
||||
autoreconf -vfi
|
||||
LDFLAGS=-lintl runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir=$appsDir
|
||||
make $jobArgs
|
||||
addResourcesToBinaries LTris.rdef src/ltris
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
mv $appsDir/ltris $appsDir/LTris
|
||||
|
||||
# Clean up some unnecessary things from the package
|
||||
rm $localStateDir/ltris.hscr
|
||||
rm -rf $dataDir/applications
|
||||
rm -rf $dataDir/icons
|
||||
rm -rf $localStateDir
|
||||
rm -rf $dataDir/{applications,icons}
|
||||
|
||||
addAppDeskbarSymlink $binDir/ltris LTris
|
||||
addResourcesToBinaries LTris.rdef $appsDir/LTris
|
||||
|
||||
addAppDeskbarSymlink $appsDir/LTris LTris
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user