void-packages/srcpkgs/libofx/template
Juan RP 65d1b17d58 libofx: multiple improvements.
- Reduce short_desc, it's called as short_desc for a reson.
- Move pkg-config, static libs and shlib symlink to -devel pkg, where they belong.
- Move API docs to -devel pkg, where it belongs.
- The -devel pkg must depend on ${sourcepkg}, otherwise you won't be able to link to the shlib.
2014-02-23 17:45:46 +01:00

25 lines
779 B
Text

# Template file for 'libofx'
pkgname=libofx
version=0.9.9
revision=2
hostmakedepends="pkg-config"
makedepends="opensp-devel libcurl-devel libxml++-devel"
build_style="gnu-configure"
maintainer="Enno Boland <eb@s01.de>"
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="http://downloads.sourceforge.net/$pkgname/$pkgname-$version.tar.gz"
checksum=94ef88c5cdc3e307e473fa2a55d4a05da802ee2feb65c85c63b9019c83747b23
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
}
}