wok-current view libjson-c/receipt @ 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 | 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 }