wok-current view libjson-c/receipt @ rev 20917
updated fdupes (1.40 -> 1.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 28 17:10:02 2019 +0100 (2019-02-28) |
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 }