Files
haikuports/app-text/sword/sword-1.7.3.recipe
2016-02-17 14:39:36 -05:00

87 lines
2.7 KiB
Bash

SUMMARY="The biblical text research engine"
DESCRIPTION="The SWORD Project is the CrossWire Bible Society's free Bible \
software project. Its purpose is to create cross-platform open-source tools-- \
covered by the GNU General Public License-- that allow programmers and Bible \
societies to write new Bible software more quickly and easily. We also create \
Bible study software for all readers, students, scholars, and translators of \
the Bible, and have a growing collection of over 200 texts in over 50 languages."
HOMEPAGE="http://www.crosswire.org/sword"
COPYRIGHT="1998-2014 CrossWire Bible Society"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.3.tar.gz"
CHECKSUM_SHA256="5a3d87ff155d5ecb0cfec052ba333b2b74d9273e2cc66fb1ca75747dfd8ea9ea"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
sword$secondaryArchSuffix = $portVersion
cmd:diatheke$secondaryArchSuffix = $portVersion
cmd:imp2gbs$secondaryArchSuffix = $portVersion
cmd:imp2ld$secondaryArchSuffix = $portVersion
cmd:imp2vs$secondaryArchSuffix = $portVersion
cmd:installmgr$secondaryArchSuffix = $portVersion
cmd:mkfastmod$secondaryArchSuffix = $portVersion
cmd:mod2imp$secondaryArchSuffix = $portVersion
cmd:mod2osis$secondaryArchSuffix = $portVersion
cmd:mod2vpl$secondaryArchSuffix = $portVersion
cmd:mod2zmod$secondaryArchSuffix = $portVersion
cmd:osis2mod$secondaryArchSuffix = $portVersion
cmd:tei2mod$secondaryArchSuffix = $portVersion
cmd:vpl2mod$secondaryArchSuffix = $portVersion
cmd:vs2osisref$secondaryArchSuffix = $portVersion
cmd:vs2osisreftxt$secondaryArchSuffix = $portVersion
cmd:xml2gbs$secondaryArchSuffix = $portVersion
lib:libsword$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
sword${secondaryArchSuffix}_devel = $portVersion
devel:libsword$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
haiku${secondaryArchSuffix}_devel
sword$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcurl$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:icu_config$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure --without-conf --without-clucene
make $jobArgs
}
INSTALL()
{
make $jobArgs install
prepareInstalledDevelLibs \
libsword
packageEntries devel \
$developDir
}