Recipe for a new Version of Scriptureguide (#4670)

* new version of scriptureguide
This commit is contained in:
Paradoxianer
2020-02-11 05:29:43 +01:00
committed by GitHub
parent e2440728d1
commit 81d0cde3c7

View File

@@ -0,0 +1,63 @@
SUMMARY="Bible study tool that supports a wide variety of Bibles"
DESCRIPTION="ScriptureGuide is a Bible study tool. It supports all of the \
features you'd expect: search, setting the font, taking notes, etc. \
Through the accompanying ScriptureGuideManager app, you can download \
hundreds of free copies of various Bibles, commentaries, and related books."
HOMEPAGE="https://github.com/HaikuArchives/ScriptureGuide"
COPYRIGHT="2004 Jan Bungeroth
2005-2019 ScriptureGuide Team"
LICENSE="GNU GPL v2
MIT"
REVISION="1"
SOURCE_URI="https://github.com/Paradoxianer/ScriptureGuide/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="d45a9be201e829a6c6c8e0cece33297899d89061f77c08e8f0a0c1a68a23c3c4"
SOURCE_DIR="ScriptureGuide-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
scriptureguide$secondaryArchSuffix = $portVersion
app:ScriptureGuide = $portVersion
app:ScriptureGuideManager = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
cmd:awk
cmd:unzip
cmd:wget
lib:libsword_1.8.1$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsword_1.8.1$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
cd ScriptureGuide
make $jobArgs
cd ../ScriptureGuideManager
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir $docDir
cp App/INSTALL.htm $docDir
cp App/README.htm $docDir
cp App/docs/* $docDir/
cp -R App/ScriptureGuide* $appsDir
addAppDeskbarSymlink $appsDir/ScriptureGuide
addAppDeskbarSymlink $appsDir/ScriptureGuideManager
}