BeNetTris [recipe] (#3387)

This commit is contained in:
Bach Nguyen
2018-11-19 09:52:05 -06:00
committed by alaviss
parent 15ee2956b9
commit d9423e1b31

View File

@@ -0,0 +1,50 @@
SUMMARY="Tetris client and server"
DESCRIPTION="BeNetTris is a multiplayer Tetris game that you can play \
with your friends! BeNetTris is client and server compatible with V1.13 \
or V1.14 of Tetrinet or Tetrinet TetriFast."
HOMEPAGE="https://github.com/HaikuArchives/BeNetTris"
COPYRIGHT="2000-2008 Cedric Vincent"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="5d04121340b7c730160d5eab6a97c79b97168464"
SOURCE_URI="https://github.com/HaikuArchives/BeNetTris/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="bd3096b84601a257cd22818ba0396be600d4b99e2f9d02f000d029502af9eddc"
SOURCE_FILENAME="BeNetTris-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="BeNetTris-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86_64"
USER_SETTINGS_FILES="
settings/BeNetTrisSettings directory
"
PROVIDES="
benettris = $portVersion
app:BeNetTris = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:find
cmd:g++
cmd:make
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir/BeNetTris
cp objects/BeNetTris $appsDir/BeNetTris
cp -r Data $appsDir/BeNetTris
addAppDeskbarSymlink $appsDir/BeNetTris/BeNetTris
}