wok annotate libjson-c/receipt @ rev 19824

Up smplayer, smtube (17.2.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Mar 04 22:10:01 2017 +0100 (2017-03-04)
parents
children 95e4621e06a2
rev   line source
pascal@17004 1 # SliTaz package receipt.
pascal@17004 2
pascal@17004 3 PACKAGE="libjson-c"
pascal@17004 4 VERSION="0.12-20140410"
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"
pascal@17004 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17004 10 WEB_SITE="https://github.com/json-c/json-c"
pascal@17004 11 WGET_URL="$WEB_SITE/archive/json-c-$VERSION.tar.gz"
pascal@17004 12
pascal@17004 13 DEPENDS=""
pascal@17004 14 BUILD_DEPENDS="wget bash automake autoconf libtool"
pascal@17004 15
pascal@17004 16 # Rules to configure and make the package.
pascal@17004 17 compile_rules()
pascal@17004 18 {
pascal@17004 19 sed -i 's/-Werror /&-Wno-error=unused-but-set-variable /' Makefile*
pascal@17004 20 ./autogen.sh
pascal@17004 21 ./configure --prefix=/usr \
pascal@17004 22 $CONFIGURE_ARGS &&
pascal@17004 23 make &&
pascal@17004 24 make DESTDIR=$DESTDIR install
pascal@17004 25 }
pascal@17004 26
pascal@17004 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17004 28 genpkg_rules()
pascal@17004 29 {
pascal@17004 30 mkdir -p $fs/usr/lib
pascal@17004 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@17004 32 }