From 81d0cde3c718c4f706c26db19366f3c2de250fc5 Mon Sep 17 00:00:00 2001 From: Paradoxianer Date: Tue, 11 Feb 2020 05:29:43 +0100 Subject: [PATCH] Recipe for a new Version of Scriptureguide (#4670) * new version of scriptureguide --- .../scriptureguide-0.9.1.recipe | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 haiku-apps/scriptureguide/scriptureguide-0.9.1.recipe diff --git a/haiku-apps/scriptureguide/scriptureguide-0.9.1.recipe b/haiku-apps/scriptureguide/scriptureguide-0.9.1.recipe new file mode 100644 index 000000000..0508fae11 --- /dev/null +++ b/haiku-apps/scriptureguide/scriptureguide-0.9.1.recipe @@ -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 +}