wok-6.x diff libjson-c/receipt @ rev 22792

recompiled xneur
author Hans-G?nter Theisgen
date Mon Jan 27 09:19:20 2020 +0100 (2020-01-27)
parents 9cd13a23b735
children 5ea0ce1cecc0
line diff
     1.1 --- a/libjson-c/receipt	Tue Aug 12 13:24:09 2014 +0200
     1.2 +++ b/libjson-c/receipt	Mon Jan 27 09:19:20 2020 +0100
     1.3 @@ -1,26 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libjson-c"
     1.7 -VERSION="0.12-20140410"
     1.8 +VERSION="0.13.1"
     1.9 +REL_DATE="20180305"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="A JSON implementation in C"
    1.12 +SHORT_DESC="A JSON implementation in C."
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 +WEB_SITE="https://github.com/json-c/json-c"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://github.com/json-c/json-c"
    1.19 -WGET_URL="$WEB_SITE/archive/json-c-$VERSION.tar.gz"
    1.20 +WGET_URL="$WEB_SITE/archive/json-c-$VERSION-$REL_DATE.tar.gz"
    1.21  
    1.22  DEPENDS=""
    1.23 -BUILD_DEPENDS="wget bash automake autoconf libtool"
    1.24 +BUILD_DEPENDS="automake bash libtool"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	sed -i 's/-Werror /&-Wno-error=unused-but-set-variable /' Makefile*
    1.30 -	./autogen.sh
    1.31 -	./configure --prefix=/usr \
    1.32 +
    1.33 +	./autogen.sh &&
    1.34 +	./configure		\
    1.35 +		--prefix=/usr	\
    1.36  		$CONFIGURE_ARGS &&
    1.37 -	make &&
    1.38 +	make -j 1 &&
    1.39  	make DESTDIR=$DESTDIR install
    1.40  }
    1.41