2012-09-26 01:34:20 +00:00
|
|
|
# Template file for 'xapian-core'
|
|
|
|
pkgname=xapian-core
|
2013-05-05 16:18:19 +00:00
|
|
|
version=1.2.15
|
2014-02-16 09:31:55 +00:00
|
|
|
revision=2
|
2012-09-26 01:34:20 +00:00
|
|
|
build_style=gnu-configure
|
2013-05-05 16:18:19 +00:00
|
|
|
makedepends="zlib-devel 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"
|
2013-05-05 16:18:19 +00:00
|
|
|
checksum=cde4f5d1b111b66643fa41c11b9e5962bff7ce7244ca34cbbcbd2d2caa0c4df0
|
2012-09-26 01:34:20 +00:00
|
|
|
|
|
|
|
# xapian-config needs the .la
|
|
|
|
keep_libtool_archives=yes
|
2013-04-14 16:42:25 +00:00
|
|
|
|
|
|
|
xapian-core-devel_package() {
|
|
|
|
depends="libxapian>=${version}"
|
2013-05-05 16:18:19 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 16:42:25 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove "usr/lib/*.la"
|
2014-02-16 09:31:55 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 16:42:25 +00:00
|
|
|
vmove usr/bin/xapian-config
|
|
|
|
vmove usr/share/man/man1/xapian-config.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libxapian_package() {
|
2013-05-05 16:18:19 +00:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 16:42:25 +00:00
|
|
|
pkg_install() {
|
2014-02-16 09:31:55 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 16:42:25 +00:00
|
|
|
}
|
|
|
|
}
|