mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Add recipe for Slime Volley.
This commit is contained in:
59
games-arcade/slime_volley/slime_volley-2.4.2.recipe
Normal file
59
games-arcade/slime_volley/slime_volley-2.4.2.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
SUMMARY="A volley-ball game"
|
||||
DESCRIPTION="Slime volley is a Volley ball simulation. You control a slime
|
||||
(a semicircular blob) on which the ball bounces. Up to 6 players can play
|
||||
Slime Volley, locally or through the network. An AI is also available if you
|
||||
want to play alone."
|
||||
LICENSE="GNU GPL v3"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
REVISION="1"
|
||||
COPYRIGHT="2008-2014 VinDuv, McMic"
|
||||
HOMEPAGE="http://slime.tuxfamily.org/"
|
||||
|
||||
SRC_URI="http://slime.tuxfamily.org/down.php?id=1&os=src"
|
||||
SRC_FILENAME="slimevolley-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="be8f461c6f1188ba709b1fbcbe64edffca4b8eb358bd2ed8825f8ebf30e660d3"
|
||||
SOURCE_DIR="slimevolley"
|
||||
|
||||
PROVIDES="
|
||||
slime_voley = $portVersion
|
||||
app:slimevolley
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libintl
|
||||
lib:libsdl
|
||||
lib:libsdl_image
|
||||
lib:libsdl_ttf
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libintl
|
||||
devel:libsdl
|
||||
devel:libsdl_image
|
||||
devel:libsdl_net
|
||||
devel:libsdl_ttf
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:cmake
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD() {
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DI10N_DIR=$dataDir/locale -DDATA_DIR=$dataDir/games/slimevolley -DSV_PORTABLE=1
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL() {
|
||||
make install
|
||||
|
||||
mkdir -p $dataDir
|
||||
mv $prefix/share/locale $dataDir
|
||||
rm -r $prefix/share
|
||||
|
||||
mkdir $appsDir
|
||||
cp slimevolley $appsDir
|
||||
}
|
||||
Reference in New Issue
Block a user