Files
haikuports/games-puzzle/lbreakout2/lbreakout2-2.6.4.recipe
2015-08-04 12:08:31 -04:00

67 lines
1.6 KiB
Bash

SUMMARY="A fun breakout-style arcade game"
DESCRIPTION="The successor to LBreakout offers you a new challenge in more than 50 \
levels with loads of new bonuses (goldshower, joker, explosive balls, \
bonus magnet), maluses (chaos, darkness, weak balls, malus magnet) \
and special bricks (growing bricks, explosive bricks, regenerative bricks).
If you are hungry for more you can create your own levelsets with the integrated \
level editor.
There is also an experimental two player mode (via LAN) available."
HOMEPAGE="http://lgames.sourceforge.net/"
SOURCE_URI="http://sourceforge.net/projects/lgames/files/lbreakout2/2.6/lbreakout2-2.6.4.tar.gz"
CHECKSUM_SHA256="0b90716d52e67c27ff41ab7aa5c09dad4f5f19a78076cc57dd4b4d7ed2c1dbd9"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2011 Michael Speck"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PATCHES="lbreakout2-2.6.4.patchset"
PROVIDES="
lbreakout2 = $portVersion
cmd:lbreakout2 = $portVersion
cmd:lbreakout2server = $portVersion
"
REQUIRES="
haiku
lib:libsdl
lib:libsdl_mixer
lib:libsdl_net
lib:libpng
lib:libz
lib:libintl
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
devel:sdl_mixer
devel:sdl_net
devel:libintl
devel:libz
devel:libpng
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
cmd:ld
cmd:libtoolize
"
BUILD()
{
libtoolize --force --copy --install
LDFLAGS="-lintl -lnetwork" runConfigure ./configure --with-docdir=$documentationDir
make $jobArgs
addResourcesToBinaries LBreakout2.rdef client/lbreakout2
}
INSTALL()
{
make install
rm $localStateDir/lbreakout2.hscr
rm -rf $dataDir/applications
rm -rf $dataDir/icons
addAppDeskbarSymlink $binDir/lbreakout2 LBreakout2
}