mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
88 lines
2.6 KiB
Bash
88 lines
2.6 KiB
Bash
SUMMARY="A probabilistic information retrieval library with numerous bindings"
|
|
DESCRIPTION="Xapian is an open source search engline library written in C++. \
|
|
It has bindings for a large number of other programming languages, including \
|
|
Perl, Python, Java and Ruby. It is hightly adaptable and extensible, fitting \
|
|
a wide range of information retrieval-related tasks. Xapian empowers the \
|
|
Omega search engine package. It supports a wide range of advanced features such \
|
|
as native Unicode support and modern search algorithms."
|
|
HOMEPAGE="http://xapian.org/"
|
|
COPYRIGHT="1999-2015 The Xapian Authors"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://oligarchy.co.uk/xapian/$portVersion/xapian-core-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f"
|
|
SOURCE_DIR="xapian-core-$portVersion"
|
|
PATCHES="xapian-$portVersion.patch"
|
|
|
|
ARCHITECTURES="x86 !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
xapian$secondaryArchSuffix = $portVersion
|
|
lib:libxapian$secondaryArchSuffix = 22.6.8 compat >= 22
|
|
cmd:copydatabase$secondaryArchSuffix = $portVersion
|
|
cmd:delve$secondaryArchSuffix = $portVersion
|
|
cmd:quest$secondaryArchSuffix = $portVersion
|
|
cmd:simpleexpand$secondaryArchSuffix = $portVersion
|
|
cmd:simpleindex$secondaryArchSuffix = $portVersion
|
|
cmd:simplesearch$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_check$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_chert_update$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_compact$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_config$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_inspect$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_metadata$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_progsrv$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_replicate$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_replicate_server$secondaryArchSuffix = $portVersion
|
|
cmd:xapian_tcpsrv$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libuuid$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
xapian${secondaryArchSuffix} = $portVersion
|
|
devel:libxapian$secondaryArchSuffix = 22.6.8 compat >= 22
|
|
"
|
|
REQUIRES_devel="
|
|
xapian$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libuuid$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:sed
|
|
cmd:awk
|
|
cmd:cmp
|
|
cmd:diff
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLib libxapian
|
|
fixPkgconfig
|
|
|
|
mkdir -p $dataDir/cmake/Modules
|
|
mv $libDir/cmake/xapian $dataDir/cmake/Modules/xapian
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$dataDir
|
|
}
|