wok-next view json-c/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
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 }