wok-next view libjson-c/receipt @ rev 18630

Add mediainfo-gui
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 25 07:29:51 2015 +0200 (2015-11-25)
parents
children 76524bb0e096
line source
1 # SliTaz package receipt.
3 PACKAGE="libjson-c"
4 VERSION="0.12-20140410"
5 CATEGORY="development"
6 SHORT_DESC="A JSON implementation in C"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/json-c/json-c"
11 WGET_URL="$WEB_SITE/archive/json-c-$VERSION.tar.gz"
13 DEPENDS=""
14 BUILD_DEPENDS="wget bash automake autoconf libtool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/-Werror /&-Wno-error=unused-but-set-variable /' Makefile*
20 ./autogen.sh
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }