wok-current rev 21245
updated libjson-c and libjson-c-dev (0.12 -> 0.13.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 11 15:39:08 2019 +0100 (2019-04-11) |
parents | f4d061b529ff |
children | da1bb3322610 |
files | libjson-c-dev/receipt libjson-c/receipt |
line diff
1.1 --- a/libjson-c-dev/receipt Thu Apr 11 16:26:47 2019 +0200 1.2 +++ b/libjson-c-dev/receipt Thu Apr 11 15:39:08 2019 +0100 1.3 @@ -1,21 +1,22 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libjson-c-dev" 1.7 -VERSION="0.12-20140410" 1.8 +VERSION="0.13.1" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="A JSON implementation in C, development files" 1.11 +SHORT_DESC="A JSON implementation in C, development files." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="MIT" 1.14 WEB_SITE="https://github.com/json-c/json-c" 1.15 + 1.16 WANTED="libjson-c" 1.17 - 1.18 DEPENDS="libjson-c pkg-config" 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules() 1.22 { 1.23 mkdir -p $fs/usr/lib 1.24 - cp -a $install/usr/include $fs/usr/ 1.25 - cp -a $install/usr/lib/*a $fs/usr/lib 1.26 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.27 + 1.28 + cp -a $install/usr/include $fs/usr/ 1.29 + cp -a $install/usr/lib/*a $fs/usr/lib 1.30 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.31 }
2.1 --- a/libjson-c/receipt Thu Apr 11 16:26:47 2019 +0200 2.2 +++ b/libjson-c/receipt Thu Apr 11 15:39:08 2019 +0100 2.3 @@ -1,26 +1,30 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="libjson-c" 2.7 -VERSION="0.12-20140410" 2.8 +VERSION="0.13.1" 2.9 +REL_DATE="20180305" 2.10 CATEGORY="development" 2.11 -SHORT_DESC="A JSON implementation in C" 2.12 +SHORT_DESC="A JSON implementation in C." 2.13 MAINTAINER="pascal.bellard@slitaz.org" 2.14 LICENSE="MIT" 2.15 +WEB_SITE="https://github.com/json-c/json-c" 2.16 + 2.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.18 -WEB_SITE="https://github.com/json-c/json-c" 2.19 -WGET_URL="$WEB_SITE/archive/json-c-$VERSION.tar.gz" 2.20 +WGET_URL="$WEB_SITE/archive/json-c-$VERSION-$REL_DATE.tar.gz" 2.21 2.22 DEPENDS="" 2.23 -BUILD_DEPENDS="wget bash automake autoconf libtool" 2.24 +BUILD_DEPENDS="automake bash libtool" 2.25 2.26 # Rules to configure and make the package. 2.27 compile_rules() 2.28 { 2.29 sed -i 's/-Werror /&-Wno-error=unused-but-set-variable /' Makefile* 2.30 - ./autogen.sh 2.31 - ./configure --prefix=/usr \ 2.32 + 2.33 + ./autogen.sh && 2.34 + ./configure \ 2.35 + --prefix=/usr \ 2.36 $CONFIGURE_ARGS && 2.37 - make && 2.38 + make -j 1 && 2.39 make DESTDIR=$DESTDIR install 2.40 } 2.41