69c67cf704
By ericonr: - add changelog - use LIBS instead of LDFLAGS Closes: #28378 [via git-merge-pr]
40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Template file for 'yaz'
|
|
pkgname=yaz
|
|
version=5.30.3
|
|
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/"
|
|
changelog="https://software.indexdata.com/yaz/doc/NEWS"
|
|
distfiles="http://ftp.indexdata.dk/pub/yaz/yaz-${version}.tar.gz"
|
|
checksum=f0497fd8420574efab4e5738ea3b70787a6e8042f585156baa30bdc1911ba552
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
makedepends+=" libexecinfo-devel"
|
|
export LIBS="-lexecinfo"
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|