From 7cbd9a6397dd53c6e9a2c1c22d2994ecf7cc557e Mon Sep 17 00:00:00 2001 From: Bach Nguyen Date: Thu, 28 Dec 2017 22:02:42 +0000 Subject: [PATCH] FlyingTroll: a new recipe (#1989) --- .../flyingtroll/flyingtroll-0.0.1~git.recipe | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 haiku-apps/flyingtroll/flyingtroll-0.0.1~git.recipe diff --git a/haiku-apps/flyingtroll/flyingtroll-0.0.1~git.recipe b/haiku-apps/flyingtroll/flyingtroll-0.0.1~git.recipe new file mode 100644 index 000000000..c0fd4a0c4 --- /dev/null +++ b/haiku-apps/flyingtroll/flyingtroll-0.0.1~git.recipe @@ -0,0 +1,45 @@ +SUMMARY="A simple app for browsing local documentation" +DESCRIPTION="FlyingTroll can be used for browsing local documentation. \ +It has its own HTML layout engine. There's absolutely no JS, CSS, nor \ +network support. But it has a lot of potential." +HOMEPAGE="https://github.com/HaikuArchives/FlyingTroll" +COPYRIGHT="2007 Nikita Zalyotov" +LICENSE="MIT" +REVISION="1" +srcGitRev="4781ab9600b4042fafd6e8fe76d6d3947a14d8c1" +SOURCE_URI="https://github.com/HaikuArchives/FlyingTroll/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="f3175716c49d17e668ef6bca136fc03789c08a0c6b5500062533208edd07a405" +SOURCE_FILENAME="FlyingTroll-$portVersion-$srcGitRev.tar.gz" +SOURCE_DIR="FlyingTroll-$srcGitRev" + +ARCHITECTURES="x86_gcc2 x86_64" + +PROVIDES=" + flyingtroll = $portVersion + app:FlyingTroll = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +BUILD() +{ + make -C src OBJ_DIR=objects +} + +INSTALL() +{ + install -d $appsDir/FlyingTroll/images + install -t $appsDir/FlyingTroll src/objects/FlyingTroll + install -t $appsDir/FlyingTroll/images src/images/* + addAppDeskbarSymlink $appsDir/FlyingTroll/FlyingTroll +}