wok-next view json-c/receipt @ rev 20983

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 28 13:48:52 2018 +0300 (2018-09-28)
parents 2d54d154d5ca
children fc9ee6d3aa6f
line source
1 # SliTaz package receipt v2.
3 PACKAGE="json-c"
4 VERSION="0.12.1"
5 CATEGORY="libs"
6 SHORT_DESC="Reference counting object model"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/json-c/json-c"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/json-c.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://s3.amazonaws.com/json-c_releases/releases/$TARBALL"
15 BUILD_DEPENDS="automake"
16 SPLIT="json-c-dev"
18 compile_rules() {
19 sed -i 's|-Werror||' Makefile.in tests/Makefile.in
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make -j1 &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 json-c) copy @std;;
32 *-dev) copy @dev;;
33 esac
34 }