void-packages/srcpkgs/xapian-core/template
2017-01-31 00:06:11 +00:00

39 lines
1.1 KiB
Bash

# Template file for 'xapian-core'
pkgname=xapian-core
version=1.4.3
revision=1
build_style=gnu-configure
configure_args="--disable-static"
makedepends="zlib-devel libuuid-devel"
short_desc="Open source search engine"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.xapian.org/"
license="GPL-2"
# distfiles="http://oligarchy.co.uk/xapian/${version}/${pkgname}-${version}.tar.xz"
distfiles="http://ftp.osuosl.org/pub/blfs/conglomeration/xapian/${pkgname}-${version}.tar.xz"
checksum=7d5295511ca2de70463a29e75f6a2393df5dc1485bf33074b778c66e1721e475
# xapian-config needs the .la
keep_libtool_archives=yes
xapian-core-devel_package() {
depends="libxapian-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/doc
vmove usr/share/aclocal
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
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.*
}
}