void-packages/srcpkgs/xapian-core/template

39 lines
969 B
Text
Raw Normal View History

2012-09-26 01:34:20 +00:00
# Template file for 'xapian-core'
pkgname=xapian-core
2014-12-08 18:52:12 +00:00
version=1.2.19
revision=1
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"
2014-12-08 18:52:12 +00:00
distfiles="http://oligarchy.co.uk/xapian/${version}/${pkgname}-${version}.tar.xz"
checksum=4a78260388ff1b042f0ab5d18afdd524a530ae609690d0339990ddc147a54785
2012-09-26 01:34:20 +00:00
# xapian-config needs the .la
keep_libtool_archives=yes
xapian-core-devel_package() {
2014-12-08 18:52:12 +00:00
depends="libxapian>=${version}_${revision}"
2013-05-05 16:18:19 +00:00
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"
2014-02-16 09:31:55 +00:00
vmove "usr/lib/*.so"
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"
pkg_install() {
2014-02-16 09:31:55 +00:00
vmove "usr/lib/*.so.*"
}
}