From b016ca5fc9e105739da675379ccfb7a4a30841fe Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 17 Feb 2014 19:55:27 +0100 Subject: [PATCH] jsoncpp: cross build support. --- srcpkgs/jsoncpp/template | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/srcpkgs/jsoncpp/template b/srcpkgs/jsoncpp/template index bd4724bf7e2..21688a12a39 100644 --- a/srcpkgs/jsoncpp/template +++ b/srcpkgs/jsoncpp/template @@ -2,7 +2,7 @@ pkgname=jsoncpp version=0.6.0rc2 _srcversion=0.6.0-rc2 -revision=1 +revision=2 hostmakedepends="scons" wrksrc="${pkgname}-src-${_srcversion}" short_desc="A JSON implementation in C++" @@ -27,18 +27,15 @@ do_install() { ln -sf libjsoncpp.so.0.0.0 ${DESTDIR}/usr/lib/libjsoncpp.so.0 vmkdir usr/include/jsoncpp/json install -p -m 0644 include/json/*.h ${DESTDIR}/usr/include/jsoncpp/json -} - - -post_install() { vinstall ${FILESDIR}/jsoncpp.pc 644 usr/lib/pkgconfig } jsoncpp-devel_package() { - depends="jsoncpp>=${version}" + depends="jsoncpp>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" } }