wok-6.x annotate jansson/receipt @ rev 20042

Add snapper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 29 20:35:56 2017 +0200 (2017-08-29)
parents
children f5c4924e8cd9
rev   line source
pankso@16420 1 # SliTaz package receipt.
pankso@16420 2
pankso@16420 3 PACKAGE="jansson"
pankso@16420 4 VERSION="2.6"
pankso@16420 5 CATEGORY="x-window"
pankso@16420 6 SHORT_DESC="C library for encoding, decoding and manipulating JSON data."
pankso@16420 7 MAINTAINER="pankso@slitaz.org"
pankso@16420 8 LICENSE="GPL2"
pankso@16420 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@16420 10 WEB_SITE="http://www.digip.org/jansson/"
pankso@16420 11 WGET_URL="http://www.digip.org/jansson/releases/$TARBALL"
pankso@16420 12 HOST_ARCH="i486 arm"
pankso@16420 13
pankso@16420 14 DEPENDS="xorg-libX11"
pankso@16420 15 BUILD_DEPENDS="xorg-libX11-dev"
pankso@16420 16
pankso@16420 17 # Rules to configure and make the package.
pankso@16420 18 compile_rules()
pankso@16420 19 {
pankso@16420 20 ./configure $CONFIGURE_ARGS &&
pankso@16420 21 make && make install
pankso@16420 22 }
pankso@16420 23
pankso@16420 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16420 25 genpkg_rules()
pankso@16420 26 {
pankso@16420 27 mkdir -p $fs/usr/lib
pankso@16420 28 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16420 29 }