mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
64 lines
1.8 KiB
Bash
64 lines
1.8 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="https://perso.b2b2c.ca/~sarrazip/dev/burgerspace.html"
|
|
COPYRIGHT="2013 Pierre Sarrazin"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://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
|
|
app:BurgerSpace
|
|
cmd:burgerspace_server$secondaryArchSuffix
|
|
"
|
|
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
|
|
|
|
# remove obsolete files
|
|
rm -rf $dataDir/{applications,pixmaps}
|
|
}
|