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.
This commit is contained in:
Juan RP 2014-02-23 17:45:46 +01:00
parent 4fd90fb598
commit 65d1b17d58
1 changed files with 7 additions and 2 deletions

View File

@ -1,20 +1,25 @@
# Template file for 'libofx'
pkgname=libofx
version=0.9.9
revision=1
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="libofx is a parser and an API designed to allow applications to very easily support OFX command responses, usually provided by financial institutions for statement downloads."
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
}
}