From fa3c714a84bd6750cac98faf1e5c1276075760ad Mon Sep 17 00:00:00 2001 From: davehome Date: Thu, 15 Mar 2012 06:08:07 -0600 Subject: [PATCH] json-glib: also build static library --- srcpkgs/json-glib/json-glib-devel.template | 2 ++ srcpkgs/json-glib/template | 2 ++ 2 files changed, 4 insertions(+) diff --git a/srcpkgs/json-glib/json-glib-devel.template b/srcpkgs/json-glib/json-glib-devel.template index 1323cda64a..0badbf2492 100644 --- a/srcpkgs/json-glib/json-glib-devel.template +++ b/srcpkgs/json-glib/json-glib-devel.template @@ -1,5 +1,6 @@ # Template file for 'json-glib-devel'. # +revision=1 short_desc="${sourcepkg} - development files" long_desc="${long_desc} @@ -10,6 +11,7 @@ Add_dependency run json-glib do_install() { + vmove "usr/lib/*.a" usr/lib vmove usr/include usr vmove usr/share usr vmove usr/lib/pkgconfig usr/lib diff --git a/srcpkgs/json-glib/template b/srcpkgs/json-glib/template index 3f0456a330..15de4abf49 100644 --- a/srcpkgs/json-glib/template +++ b/srcpkgs/json-glib/template @@ -1,7 +1,9 @@ # Template build file for 'json-glib'. pkgname=json-glib version=0.14.2 +revision=1 distfiles="${GNOME_SITE}/${pkgname}/0.14/${pkgname}-${version}.tar.xz" +configure_args="--enable-static" build_style=gnu-configure revision=2 short_desc="A JSON parser for GLib-based libraries and applications"