void-packages/srcpkgs/libofx/template

29 lines
944 B
Bash

# Template file for 'libofx'
pkgname=libofx
version=0.10.1
revision=1
build_style="gnu-configure"
configure_args="--with-opensp-includes=${XBPS_CROSS_BASE}/usr/include/OpenSP
--with-opensp-libs=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="pkg-config"
makedepends="opensp-devel libcurl-devel libxml++-devel"
short_desc="OFX banking protocol abstraction library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://libofx.sourceforge.net"
changelog="https://raw.githubusercontent.com/libofx/libofx/master/NEWS"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname/$pkgname-$version.tar.gz"
checksum=3bcc2c86b23dc11315a8ce0c9f20cc504fdc6147ea3a0385cb3e05768279c64d
libofx-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"
vmove usr/share/doc
}
}