Files
haikuports/games-arcade/burgerspace/burgerspace-1.9.2.recipe
2016-01-10 17:04:55 +01:00

61 lines
1.7 KiB
Bash

SUMMARY="A hamburger-smashing video game"
DESCRIPTION="A game in which you are a chef, and must walk over hamburger \
ingredients (buns, meat, and lettuce) to make them fall from floor to floor, \
until they end up on the plates at the bottom of the screen."
HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/burgerspace.html"
COPYRIGHT="2013 Pierre Sarrazin"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://perso.b2b2c.ca/sarrazip/dev/burgerspace-$portVersion.tar.gz"
CHECKSUM_SHA256="34b0feccf543b11f9f9a182203d67cd453675255fed4b745e4e74c121b211bf2"
SOURCE_DIR="burgerspace-$portVersion"
ADDITIONAL_FILES="burgerspace.rdef"
ARCHITECTURES="!x86_gcc2 ?x86_64 ?x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
burgerspace$secondaryArchSuffix = $portVersion
cmd:burgerspace_server$secondaryArchSuffix
app:BurgerSpace
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libflatzebra_0.1$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libflatzebra_0.1$secondaryArchSuffix
devel:libgl$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure LDFLAGS='-lnetwork'
make $jobArgs
}
INSTALL()
{
make install
mkdir -p $appsDir
mv $binDir/burgerspace $appsDir/BurgerSpace
addResourcesToBinaries $portDir/additional-files/burgerspace.rdef $appsDir/BurgerSpace
addAppDeskbarSymlink $appsDir/BurgerSpace BurgerSpace
}