wok-current view libjson-c/receipt @ rev 17470

Add minidlna (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 26 22:23:02 2014 +0100 (2014-12-26)
parents
children 95e4621e06a2
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 }