void-packages/srcpkgs/aqbanking/template
2020-10-06 19:29:49 +02:00

31 lines
1,022 B
Bash

# Template file for 'aqbanking'
pkgname=aqbanking
version=6.2.5
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config gwenhywfar tar"
makedepends="gwenhywfar-devel xmlsec1-devel ktoblzcheck-devel gmp-devel"
short_desc="Library for online banking and financial applications"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only, GPL-3.0-only"
homepage="http://www.aquamaniac.de/aqbanking"
distfiles="https://www.aquamaniac.de/rdm/attachments/download/342/${pkgname}-${version}.tar.gz"
checksum=cf5b060e3ec7e3fc925687caf044d4df3dbf9595f23c4fe8ffad78f44af0d6df
disable_parallel_build=yes
if [ "$CROSS_BUILD" ]; then
export PKG_CONFIG_PATH=${XBPS_CROSS_BASE}/usr/lib/pkgconfig
configure_args+=" -with-xmlmerge=/usr/bin/xmlmerge"
fi
aqbanking-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/aqbanking-config
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
}