wok-6.x view libjson-c/receipt @ rev 18336

Up zstd (0.1.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 10 17:29:00 2015 +0200 (2015-09-10)
parents
children 95e4621e06a2
line source
1 # SliTaz package receipt.
3 PACKAGE="libjson-c"
4 VERSION="0.12-20140410"
5 CATEGORY="development"
6 SHORT_DESC="A JSON implementation in C"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/json-c/json-c"
11 WGET_URL="$WEB_SITE/archive/json-c-$VERSION.tar.gz"
13 DEPENDS=""
14 BUILD_DEPENDS="wget bash automake autoconf libtool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/-Werror /&-Wno-error=unused-but-set-variable /' Makefile*
20 ./autogen.sh
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }