mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 21:18:51 +02:00
HaikuPorter now does not care what is in ARCHITECTURES when building for a SECONDARY_ARCHITECTURE.
57 lines
1.6 KiB
Bash
57 lines
1.6 KiB
Bash
SUMMARY="A brick-matching puzzle-game"
|
||
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 \
|
||
can only push them, not lift them up.
|
||
"
|
||
HOMEPAGE="http://wizznic.sourceforge.net/"
|
||
SOURCE_URI="http://sourceforge.net/projects/wizznic/files/Source%20Releases/wizznic-0.9.9-src.tar.bz2"
|
||
CHECKSUM_SHA256="2cf9462177474d7f5bfe95bbc21303ec7031ca86412b587b5e7d3ed531d5b16b"
|
||
LICENSE="GNU GPL v3"
|
||
COPYRIGHT="2011 Jimmy Christensen"
|
||
REVISION="2"
|
||
ARCHITECTURES="!x86_gcc2"
|
||
SECONDARY_ARCHITECTURES="x86"
|
||
|
||
SOURCE_DIR="wizznic-$portVersion-src"
|
||
PATCHES="wizznic-$portVersion.patchset"
|
||
|
||
PROVIDES="
|
||
wizznic$secondaryArchSuffix = $portVersion
|
||
cmd:wizznic$secondaryArchSuffix = $portVersion
|
||
"
|
||
REQUIRES="
|
||
haiku$secondaryArchSuffix
|
||
lib:libsdl$secondaryArchSuffix
|
||
lib:libsdl_mixer$secondaryArchSuffix
|
||
lib:libsdl_image$secondaryArchSuffix
|
||
lib:libpng$secondaryArchSuffix
|
||
lib:libz$secondaryArchSuffix
|
||
"
|
||
BUILD_REQUIRES="
|
||
devel:sdl_image$secondaryArchSuffix
|
||
devel:sdl_mixer$secondaryArchSuffix
|
||
devel:libpng$secondaryArchSuffix
|
||
devel:libz$secondaryArchSuffix
|
||
"
|
||
BUILD_PREREQUIRES="
|
||
haiku${secondaryArchSuffix}_devel
|
||
cmd:gcc$secondaryArchSuffix
|
||
cmd:make
|
||
cmd:sdl_config$secondaryArchSuffix
|
||
"
|
||
|
||
BUILD()
|
||
{
|
||
DATADIR=$dataDir/wizznic/ BINDIR=$binDir/ WITH_OPENGL=false \
|
||
CFLAGS=`sdl-config --cflags` make
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
DATADIR=$dataDir/wizznic/ BINDIR=$binDir/ make install
|
||
addAppDeskbarSymlink $binDir/wizznic "WizzNic!"
|
||
}
|