b669f83f5a
[ci skip]
35 lines
917 B
Bash
35 lines
917 B
Bash
# Template file for 'yaz'
|
|
pkgname=yaz
|
|
version=5.27.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-shared=yaz"
|
|
hostmakedepends="bison pkg-config"
|
|
makedepends="gnutls-devel libxslt-devel"
|
|
short_desc="Toolkit supporting development of Z39.50/SRW/SRU clients and servers"
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.indexdata.com/resources/software/yaz/"
|
|
distfiles="http://ftp.indexdata.dk/pub/yaz/yaz-${version}.tar.gz"
|
|
checksum=3db834b30aad941aaee67a3daf0cfc33d6f81e724dd8d54227be201ad93c18f3
|
|
|
|
case "$XBPS_TARGET_MACHINE" 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/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|