FlyingTroll: a new recipe (#1989)

This commit is contained in:
Bach Nguyen
2017-12-28 22:02:42 +00:00
committed by fbrosson
parent 7bd116f52b
commit 7cbd9a6397

View File

@@ -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
}