Files
haikuports/games-arcade/lbreakout2/lbreakout2-2.6.4.recipe
2018-08-09 10:27:19 +02:00

68 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/"
COPYRIGHT="2001-2011 Michael Speck"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="http://sourceforge.net/projects/lgames/files/lbreakout2/2.6/lbreakout2-2.6.4.tar.gz"
CHECKSUM_SHA256="0b90716d52e67c27ff41ab7aa5c09dad4f5f19a78076cc57dd4b4d7ed2c1dbd9"
PATCHES="lbreakout2-2.6.4.patchset"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
lbreakout2 = $portVersion
cmd:lbreakout2 = $portVersion
cmd:lbreakout2server = $portVersion
"
REQUIRES="
haiku
lib:libintl
lib:libpng
lib:libsdl
lib:libsdl_mixer
lib:libsdl_net_1.2
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libintl
devel:libpng
devel:libsdl
devel:libsdl_mixer
devel:libsdl_net_1.2
devel:libz
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
"
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
}