47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
# Template file for 'xapian-core'
|
|
pkgname=xapian-core
|
|
version=1.4.24
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
makedepends="zlib-devel libuuid-devel"
|
|
short_desc="Open source search engine"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.xapian.org/"
|
|
changelog="https://xapian.org/docs/xapian-core-${version}/NEWS"
|
|
distfiles="https://oligarchy.co.uk/xapian/${version}/xapian-core-${version}.tar.xz"
|
|
checksum=eda5ae6dcf6b0553a8676af64b1fd304e998cd20f779031ccaaf7ab9a373531a
|
|
|
|
# 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/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
|
|
}
|
|
}
|
|
|
|
xapian-core-doc_package() {
|
|
short_desc+=" - documentation"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|
|
|
|
libxapian_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|