wok-current view libjson-c/receipt @ rev 22650

updated djview again (4.10.3 -> 4.10.6)
author Hans-G?nter Theisgen
date Tue Jan 14 13:47:35 2020 +0100 (2020-01-14)
parents 9cd13a23b735
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="libjson-c"
4 VERSION="0.13.1"
5 REL_DATE="20180305"
6 CATEGORY="development"
7 SHORT_DESC="A JSON implementation in C."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/json-c/json-c"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/json-c-$VERSION-$REL_DATE.tar.gz"
15 DEPENDS=""
16 BUILD_DEPENDS="automake bash libtool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/-Werror /&-Wno-error=unused-but-set-variable /' Makefile*
23 ./autogen.sh &&
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }