mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
LightsOff: create recipe (#2109)
This commit is contained in:
46
haiku-games/lightsoff/lightsoff-1.0.recipe
Normal file
46
haiku-games/lightsoff/lightsoff-1.0.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user