wok-next annotate libjson-c/receipt @ rev 20582
Up libjson-c (0.13.1-20180305)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 10:00:23 2018 +0300 (2018-04-14) |
parents | 25deb7c6df08 |
children | df20b2110f7e |
rev | line source |
---|---|
al@20463 | 1 # SliTaz package receipt v2. |
pascal@17004 | 2 |
pascal@17004 | 3 PACKAGE="libjson-c" |
al@20582 | 4 VERSION="0.13.1-20180305" |
pascal@17004 | 5 CATEGORY="development" |
pascal@17004 | 6 SHORT_DESC="A JSON implementation in C" |
pascal@17004 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17004 | 8 LICENSE="MIT" |
al@20463 | 9 WEB_SITE="https://github.com/json-c/json-c" |
al@20463 | 10 |
pascal@17004 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17004 | 12 WGET_URL="$WEB_SITE/archive/json-c-$VERSION.tar.gz" |
pascal@17004 | 13 |
al@20582 | 14 BUILD_DEPENDS="automake autoconf libtool" |
al@20463 | 15 SPLIT="libjson-c-dev" |
pascal@17004 | 16 |
al@20463 | 17 compile_rules() { |
pascal@17004 | 18 ./autogen.sh |
al@20577 | 19 |
al@20582 | 20 ./configure \ |
al@20582 | 21 --disable-static \ |
al@20582 | 22 $CONFIGURE_ARGS && |
al@20577 | 23 fix libtool && |
pascal@17004 | 24 make && |
al@20577 | 25 make -j1 DESTDIR=$DESTDIR install |
pascal@17004 | 26 } |
pascal@17004 | 27 |
al@20463 | 28 genpkg_rules() { |
al@20463 | 29 case $PACKAGE in |
al@20577 | 30 libjson-c) copy @std;; |
al@20577 | 31 *-dev) copy @dev;; |
al@20463 | 32 esac |
pascal@17004 | 33 } |