30 lines
963 B
Bash
30 lines
963 B
Bash
# Template file for 'libofx'
|
|
pkgname=libofx
|
|
version=0.9.11
|
|
revision=1
|
|
hostmakedepends="pkg-config"
|
|
makedepends="opensp-devel libcurl-devel libxml++-devel"
|
|
build_style="gnu-configure"
|
|
configure_args="--with-opensp-includes=${XBPS_CROSS_BASE}/usr/include/OpenSP
|
|
--with-opensp-libs=${XBPS_CROSS_BASE}/usr/lib"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL"
|
|
homepage="http://libofx.sourceforge.net"
|
|
short_desc="Parser and an API designed to allow applications to very easily support OFX command responses"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname/$version/$pkgname-$version.tar.gz"
|
|
checksum=b0115c876bee5df84002a96f58cca8d73ef7b75d799d6a3a44905c34a8cfe94f
|
|
|
|
CFLAGS="-std=c++11"
|
|
CXXFLAGS="-std=c++11"
|
|
|
|
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
|
|
}
|
|
}
|