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

Remove sane-backends-dev
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 13:20:37 2018 +0200 (2018-01-24)
parents
children 0ec6086e21d6
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 make -j1 &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 json-c) copy @std;;
31 *-dev) copy @dev;;
32 esac
33 }