Files
haikuports/games-arcade/slimevolley/slimevolley-2.4.2.recipe
Humdinger 3eda0c3aba Fix requirements for lbreakout2, lgeneral, slimevolley
We need lib:libsdl_net_1.2 instead of lib:libsdl_net
2016-01-10 17:50:32 +01:00

71 lines
1.5 KiB
Bash

SUMMARY="A slimy volleyball game"
DESCRIPTION="Slime volley is a volleyball simulation in which you control a \
slime (a semicircular blob) on which the ball bounces. Up to 6 players can \
play Slime Volley, locally or over the network. Lone fighters can also \
play against the computer."
HOMEPAGE="http://slime.tuxfamily.org/"
COPYRIGHT="2008-2014 VinDuv, McMic"
LICENSE="GNU GPL v3"
REVISION="4"
SOURCE_URI="http://slime.tuxfamily.org/down.php?id=1&os=src"
SOURCE_FILENAME="slimevolley-$portVersion.tar.bz2"
CHECKSUM_SHA256="be8f461c6f1188ba709b1fbcbe64edffca4b8eb358bd2ed8825f8ebf30e660d3"
SOURCE_DIR="slimevolley"
PATCHES="slimevolley-2.4.2.patchset"
ADDITIONAL_FILES="slimevolley.rdef"
ARCHITECTURES="x86_gcc2"
PROVIDES="
slimevolley = $portVersion
app:slimevolley
"
REQUIRES="
haiku
lib:libintl
lib:libsdl
lib:libsdl_image
lib:libsdl_net_1.2
lib:libsdl_ttf
"
BUILD_REQUIRES="
haiku_devel
devel:libintl
devel:libsdl
devel:libsdl_image
devel:libsdl_net_1.2
devel:libsdl_ttf
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc
cmd:make
"
USER_SETTINGS_FILES="
settings/Slime_Volley
"
BUILD()
{
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DI10N_DIR=$dataDir/locale \
-DDATA_DIR=$dataDir/games/slimevolley
make $jobArgs
addResourcesToBinaries $portDir/additional-files/slimevolley.rdef \
slimevolley
}
INSTALL()
{
make install
mkdir -p $dataDir $appsDir
mv $prefix/share/locale $dataDir
rm -r $prefix/share
mv $binDir/slimevolley "$appsDir/Slime Volley"
addAppDeskbarSymlink "$appsDir/Slime Volley"
}