wok-next view json-c/receipt @ rev 20406
Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 08 02:55:48 2017 +0200 (2017-12-08) |
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 }