From d1ce9a2c5e68ed629ec8ae235aaec0f3fa8b8881 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 5 May 2013 08:42:32 +0200 Subject: [PATCH] json-c: update to 0.11. --- common/shlibs | 1 + srcpkgs/json-c/template | 15 +++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/common/shlibs b/common/shlibs index 61ed15ecf41..f2fbd9b4707 100644 --- a/common/shlibs +++ b/common/shlibs @@ -802,6 +802,7 @@ libclutter-gst-1.0.so.0 clutter-gst-1.5.4_1 libmx-1.0.so.2 mx-1.4.3_1_1 libmx-gtk-1.0.so.0 mx-1.4.3_1_1 libjson.so.0 json-c-0.9_1 +libjson-c.so.2 json-c-0.11_1 libcogl.so.12 cogl-1.14.0_1 libcogl-pango.so.12 cogl-1.14.0_1 libp11-kit.so.0 p11-kit-0.7_1 diff --git a/srcpkgs/json-c/template b/srcpkgs/json-c/template index d9818fded5f..2e7a206de1f 100644 --- a/srcpkgs/json-c/template +++ b/srcpkgs/json-c/template @@ -1,19 +1,26 @@ # Template build file for 'json-c'. pkgname=json-c -version=0.9 -revision=3 +version=0.11 +revision=1 build_style=gnu-configure short_desc="A JSON implementation in C" maintainer="Juan RP " license="MIT" homepage="http://oss.metaparadigm.com/$pkgname" -distfiles="$homepage/$pkgname-$version.tar.gz" -checksum=702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475 +distfiles="https://s3.amazonaws.com/json-c_releases/releases/$pkgname-$version.tar.gz" +checksum=28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c long_desc=" JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects." +disable_parallel_build=yes +hostmakedepends="automake libtool" + +pre_configure() { + autoreconf -fi +} + post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} }