mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
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="all"
|
|
|
|
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
|
|
}
|