mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Bong: new recipe (#1931)
This commit is contained in:
50
haiku-games/bong/bong-1.4~git.recipe
Normal file
50
haiku-games/bong/bong-1.4~git.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
SUMMARY="BeOS version of Pong"
|
||||
DESCRIPTION="Bong is a FreeWare game for BeOS, based on the old arcade classic \
|
||||
Pong"
|
||||
HOMEPAGE="https://github.com/HaikuArchives/Bong"
|
||||
COPYRIGHT="1997 by Gertjan van Ratingen"
|
||||
LICENSE="bong"
|
||||
REVISION="1"
|
||||
srcGitRev="906d822b79bdae9328fe743dffe2871f96a30e0e"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="41fab18b900db644e39a08f2d5463e0a367720c21093f492d5d2cfaa8086da0f"
|
||||
SOURCE_FILENAME="bong-$portVersion-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="Bong-$srcGitRev"
|
||||
PATCHES="bong-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
bong = $portVersion
|
||||
app:bong = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:g++
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i -e "/^#if 0$/,/^#endif$/ s/.*//;" bong.cpp
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs OBJ_DIR=objects MACHINE=BePC CC=g++ LD=g++
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -d $appsDir
|
||||
install -t $appsDir objects/bong
|
||||
addAppDeskbarSymlink $appsDir/bong Bong
|
||||
}
|
||||
Reference in New Issue
Block a user