LightsOff: create recipe (#2109)

This commit is contained in:
Owen
2018-01-15 07:59:12 -08:00
committed by fbrosson
parent acca0f4250
commit 4d44455972

View File

@@ -0,0 +1,46 @@
SUMMARY="A puzzle game based on the original handheld game Lights Out"
DESCRIPTION="LightsOff is a redition of the addictive puzzle game Lights Out."
APP="LightsOff"
HOMEPAGE="https://github.com/HaikuArchives/$APP"
COPYRIGHT="2005 DarkWyrm"
LICENSE="MIT"
REVISION="1"
srcGitRev="40b11f1f2f24a525d3b5c1a6336ec13aa3abbad7"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="01f9fc079f45b88cc5b39c64c9a3866d435bd8a16fe6f296e48482716df80d78"
SOURCE_FILENAME="$APP-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="$APP-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
lightsoff = $portVersion
app:$APP = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
defineDebugInfoPackage lightsoff \
$appsDir/$APP
BUILD()
{
make -C src OBJ_DIR=objects $jobArgs
}
INSTALL()
{
install -d $appsDir
install src/objects/$APP $appsDir
addAppDeskbarSymlink $appsDir/$APP
}