Add recipe for Minesweeper

This commit is contained in:
Josef Gajdusek
2015-01-09 17:47:23 +01:00
parent 265e74aca7
commit 8b9a387b0d

View File

@@ -0,0 +1,41 @@
SUMMARY="A Windows Minesweeper clone"
DESCRIPTION="Minesweeper is a clone of the original Windows minesweeper game. \
It supports different board sizes and best time saving."
HOMEPAGE="https://github.com/HaikuArchives/Minesweeper"
SRC_URI="git+https://github.com/HaikuArchives/Minesweeper#e75ea9e3816d56548824c0fcaba6ffa8b20b89f8"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2013 Tri-Edge AI"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
minesweeper = $portVersion
app:minesweeper = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:mkdepend
"
USER_SETTINGS_FILES="settings/Minesweeper_settings"
BUILD()
{
make -C src $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp -a src/objects/Minesweeper $appsDir
addAppDeskbarSymlink $appsDir/Minesweeper
}