mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
wizznic, fix references to libSDL* (#4330)
This commit is contained in:
committed by
Jérôme Duval
parent
154b954854
commit
4cd0e6eba3
@@ -1,6 +1,6 @@
|
||||
SUMMARY="A brick-matching puzzle-game"
|
||||
DESCRIPTION="
|
||||
Wizznic! is a brick-matching puzzle-game, an improved version of Puzznic.
|
||||
DESCRIPTION="Wizznic! is a brick-matching puzzle-game, an improved version of \
|
||||
Puzznic.
|
||||
|
||||
The challenge is to clear each level of bricks by moving the bricks next to \
|
||||
each other, this sounds a lot easier than it is. The bricks are heavy, so you \
|
||||
@@ -8,7 +8,7 @@ can only push them, not lift them up."
|
||||
HOMEPAGE="http://wizznic.org/"
|
||||
COPYRIGHT="2011-2016 Jimmy Christensen"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://wizznic.org/download/0380/Wizznic_src_build_380.tar.bz2"
|
||||
CHECKSUM_SHA256="5055626a14819e149b6c5343cb46acb83c5f480f566137fa7c32a23cb25fbf74"
|
||||
SOURCE_DIR="Wizznic_src_build_380"
|
||||
@@ -32,21 +32,21 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libsdl_image$secondaryArchSuffix
|
||||
lib:libsdl_mixer$secondaryArchSuffix
|
||||
lib:libSDL_1.2$secondaryArchSuffix
|
||||
lib:libSDL_image_1.2$secondaryArchSuffix
|
||||
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libsdl_image$secondaryArchSuffix
|
||||
devel:libsdl_mixer$secondaryArchSuffix
|
||||
devel:libSDL$secondaryArchSuffix
|
||||
devel:libSDL_image$secondaryArchSuffix
|
||||
devel:libSDL_mixer$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
@@ -55,17 +55,19 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
DATADIR=$dataDir/wizznic/ \
|
||||
BINDIR=$commandBinDir/ \
|
||||
WITH_OPENGL=false \
|
||||
CFLAGS=`sdl-config --cflags` make -f Makefile.linux
|
||||
BINDIR=$commandBinDir/ \
|
||||
WITH_OPENGL=false \
|
||||
CFLAGS=`sdl-config --cflags` make -f Makefile.linux
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
DATADIR=$dataDir/wizznic/ \
|
||||
BINDIR=$commandBinDir/ \
|
||||
make -f Makefile.linux install
|
||||
BINDIR=$commandBinDir/ \
|
||||
make -f Makefile.linux install
|
||||
|
||||
install -d $manDir/man6
|
||||
install -m 644 doc/wizznic.6 $manDir/man6
|
||||
|
||||
addAppDeskbarSymlink $commandBinDir/wizznic "WizzNic!"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user