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