From 83a1d92df523e8f8e6e3dd57c16c22b69c209ca2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 19 Aug 2013 08:56:08 +0200 Subject: [PATCH] yajl: update to 2.0.4. --- srcpkgs/yajl/template | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/srcpkgs/yajl/template b/srcpkgs/yajl/template index f895e5f2370..cce71476280 100644 --- a/srcpkgs/yajl/template +++ b/srcpkgs/yajl/template @@ -1,27 +1,37 @@ # Template build for 'yajl'. pkgname=yajl -version=2.0.2 -__extraversion=5b0e7df -revision=2 +version=2.0.4 +revision=1 build_style=cmake makedepends="ruby cmake doxygen" short_desc="Yet Another JSON Library" maintainer="davehome " license="ISC" homepage="http://lloyd.github.com/yajl/" -distfiles="https://github.com/lloyd/${pkgname}/tarball/${version}/${pkgname}-${version}.tar.gz" checksum=4917049b7700e289d38e0ac82f63b7182a5dfc6cf21c5eb9a26d70b6d2e7b68b long_desc=" YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator. YAJL is released under the ISC license." -wrksrc="lloyd-${pkgname}-${__extraversion}" +nofetch=yes +noextract=yes + +do_fetch() { + git clone -b${version} git://github.com/lloyd/yajl.git yajl-${version} +} + +post_install() { + vmkdir usr/lib + mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib +} yajl-devel_package() { depends="yajl>=${version}" - short_desc="${short_desc} - development files" + short_desc+=" - development files" pkg_install() { vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig vmove usr/include } }