wok diff libjson-c/receipt @ rev 21027
updated haserl and haserl-lua (0.9.27 -> 0.9.35)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 10 17:14:15 2019 +0100 (2019-03-10) |
parents | |
children | 95e4621e06a2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libjson-c/receipt Sun Mar 10 17:14:15 2019 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libjson-c" 1.7 +VERSION="0.12-20140410" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A JSON implementation in C" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/json-c/json-c" 1.14 +WGET_URL="$WEB_SITE/archive/json-c-$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="" 1.17 +BUILD_DEPENDS="wget bash automake autoconf libtool" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + sed -i 's/-Werror /&-Wno-error=unused-but-set-variable /' Makefile* 1.23 + ./autogen.sh 1.24 + ./configure --prefix=/usr \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib 1.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.35 +}