mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
sword: Create recipe for 1.7.4.
This commit is contained in:
committed by
Augustin Cavalier
parent
88adcf75fb
commit
888605d829
94
app-text/sword/sword-1.7.4.recipe
Normal file
94
app-text/sword/sword-1.7.4.recipe
Normal file
@@ -0,0 +1,94 @@
|
||||
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"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="1998-2014 CrossWire Bible Society"
|
||||
SRC_URI="http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.4.tar.gz"
|
||||
CHECKSUM_SHA256="995da8cf5a207c1f09809bf4b9db0bd7d267da5fcdb9d6666c9b313edd9d213d"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
|
||||
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
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
sword${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsword$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
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
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make $jobArgs install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libsword
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user