void-packages/srcpkgs/yaz/template
Nathan Owens 21504b6cfd yaz: update to 5.28.0 ; add missing dependency
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-29 09:06:46 +01:00

39 lines
1.1 KiB
Bash

# Template file for 'yaz'
pkgname=yaz
version=5.28.0
revision=1
build_style=gnu-configure
configure_args="--enable-shared --with-memcached --with-xml2 --with-xslt
--with-icu --with-gnutls"
hostmakedepends="bison pkg-config"
makedepends="gnutls-devel libxslt-devel libxml2-devel libmemcached-devel icu-devel"
depends="tcl"
short_desc="Toolkit supporting development of Z39.50/SRW/SRU clients and servers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.indexdata.com/resources/software/yaz/"
distfiles="http://ftp.indexdata.dk/pub/yaz/yaz-${version}.tar.gz"
checksum=194b09b3212b9c0626c729e8f1e13cbfbe55141434c0627860aa1469433892c4
case "$XBPS_TARGET_LIBC" in
musl) makedepends+=" libexecinfo-devel"
LDFLAGS+=" -lexecinfo" ;;
esac
post_install() {
vlicense LICENSE
}
yaz-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/yaz-config
vmove usr/share/man/man1/yaz-config.1
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/aclocal
}
}