39 lines
957 B
Plaintext
39 lines
957 B
Plaintext
# Template file for 'xapian-core'
|
|
pkgname=xapian-core
|
|
version=1.2.15
|
|
revision=2
|
|
build_style=gnu-configure
|
|
makedepends="zlib-devel libuuid-devel"
|
|
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=cde4f5d1b111b66643fa41c11b9e5962bff7ce7244ca34cbbcbd2d2caa0c4df0
|
|
|
|
# xapian-config needs the .la
|
|
keep_libtool_archives=yes
|
|
|
|
xapian-core-devel_package() {
|
|
depends="libxapian>=${version}"
|
|
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/lib/*.so"
|
|
vmove usr/bin/xapian-config
|
|
vmove usr/share/man/man1/xapian-config.1
|
|
}
|
|
}
|
|
|
|
libxapian_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|