void-packages/srcpkgs/aqbanking/template

43 lines
1.1 KiB
Bash

# Template file for 'aqbanking'
pkgname=aqbanking
version=6.5.4
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config gwenhywfar gwenhywfar-devel tar"
makedepends="gwenhywfar-devel xmlsec1-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="https://www.aquamaniac.de/rdm/"
distfiles="https://github.com/aqbanking/aqbanking/archive/refs/tags/${version}.tar.gz"
checksum=66b13d7694c25d09511b77edc14262025a452dfd93359c7257826f0e4c60dc6b
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
pre_configure() {
autoreconf -fi
}
pre_build() {
make -f Makefile.cvs
make typedefs
make types
}
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/cmake
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
}