2012-09-26 01:34:20 +00:00
|
|
|
# Template file for 'xapian-core'
|
|
|
|
pkgname=xapian-core
|
|
|
|
version=1.2.12
|
2013-04-14 16:42:25 +00:00
|
|
|
revision=2
|
2012-09-26 01:34:20 +00:00
|
|
|
build_style=gnu-configure
|
2012-09-27 16:29:59 +00:00
|
|
|
makedepends="libuuid-devel"
|
2012-09-26 01:34:20 +00:00
|
|
|
configure_args="--disable-static"
|
|
|
|
short_desc="Open source search engine"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.xapian.org/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://oligarchy.co.uk/xapian/${version}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=d5d34dd11df4cc44380e68b3737d1413fb4706115c4bdd63ef5e30afbc1c86df
|
|
|
|
long_desc="
|
|
|
|
Xapian is an Open Source Search Engine Library, released under the GPL. It's
|
|
|
|
written in C++, with bindings to allow use from Perl, Python, PHP, Java, Tcl,
|
|
|
|
C#, Ruby and Lua (so far!)."
|
|
|
|
|
|
|
|
# xapian-config needs the .la
|
|
|
|
keep_libtool_archives=yes
|
2013-04-14 16:42:25 +00:00
|
|
|
|
|
|
|
xapian-core-devel_package() {
|
|
|
|
depends="libxapian>=${version}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove "usr/lib/*.la"
|
|
|
|
vmove usr/bin/xapian-config
|
|
|
|
vmove usr/share/man/man1/xapian-config.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libxapian_package() {
|
|
|
|
short_desc="${short_desc} -- runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
xapian-core_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|