void-packages/srcpkgs/aqbanking/template

34 lines
1.1 KiB
Bash

# Template file for 'aqbanking'
pkgname=aqbanking
_dnrel=217
version=5.7.8
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config gwenhywfar"
makedepends="gwenhywfar-devel xmlsec1-devel ktoblzcheck-devel gmp-devel"
short_desc="Library for online banking and financial applications"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-only, GPL-3.0-only"
homepage="http://www.aquamaniac.de/aqbanking"
distfiles="http://www.aquamaniac.de/sites/download/download.php?package=03&release=${_dnrel}&file=02&dummy=aqbanking-$version.tar.gz"
checksum=16f86e4cc49a9eaaa8dfe3206607e627873208bce45a70030c3caea9b5afc768
disable_parallel_build=yes
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-gwen-dir=${XBPS_CROSS_BASE} -with-xmlmerge=/usr/bin/xmlmerge"
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/gwenhywfar4"
export CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/gwenhywfar4"
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
}
}