Files
haikuports/haiku-apps/scriptureguide/scriptureguide-0.9.1.recipe
Paradoxianer 47ee89b8ae fixed the build on x86_64 with a updated release (#4716)
* fixed the build on x86_64 with a updated release
2020-02-11 08:16:37 +01:00

65 lines
1.7 KiB
Bash

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="3"
SOURCE_URI="https://github.com/Paradoxianer/ScriptureGuide/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="386f8ab254ec12e8e9e1b79dcb58f6b4084ecf5901370ef951c21ace6b127ba7"
SOURCE_FILENAME="ScriptureGuide-v$portVersion.tar.gz"
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 -R App/docs/* $docDir/
cp -R App/ScriptureGuide* $appsDir
addAppDeskbarSymlink $appsDir/ScriptureGuide
addAppDeskbarSymlink $appsDir/ScriptureGuideManager
}