From 65d1b17d58cc95b8ac699d3773c6bb6af901fa3c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 23 Feb 2014 17:45:46 +0100 Subject: [PATCH] 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. --- srcpkgs/libofx/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libofx/template b/srcpkgs/libofx/template index c393a535031..777a028faa8 100644 --- a/srcpkgs/libofx/template +++ b/srcpkgs/libofx/template @@ -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 " 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 } }