From bf24a4abafaeade2423a1e7f146a2ecbc93e76c5 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Wed, 14 Aug 2019 22:34:13 +1000 Subject: [PATCH] 2Pow: add recipe --- haiku-games/2pow/2pow-1.0.0.recipe | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 haiku-games/2pow/2pow-1.0.0.recipe diff --git a/haiku-games/2pow/2pow-1.0.0.recipe b/haiku-games/2pow/2pow-1.0.0.recipe new file mode 100644 index 000000000..59d10cedf --- /dev/null +++ b/haiku-games/2pow/2pow-1.0.0.recipe @@ -0,0 +1,39 @@ +SUMMARY="2048 game clone for Haiku" +DESCRIPTION="Join the numbers and get to the 2048 tile!" +HOMEPAGE="https://github.com/threedeyes/2Pow" +COPYRIGHT="2014-2019 Gerasim Troeglazov" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="https://github.com/threedeyes/2Pow/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="f974e89da8c2d530084d285ba86136bf25c9eae21b3a3e2c22778c04f7b12749" +SOURCE_DIR="2Pow-$portVersion" + +ARCHITECTURES="x86_gcc2 x86_64" + +PROVIDES=" + 2pow = $portVersion + app:2Pow = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:g++ + cmd:make + " + +BUILD() +{ + make +} + +INSTALL() +{ + mkdir -p $appsDir + cp -a 2Pow $appsDir/2Pow + addAppDeskbarSymlink $appsDir/2Pow +}