wok annotate jansson/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 5ea0ce1cecc0
children 20ad21d5532c
rev   line source
pankso@16420 1 # SliTaz package receipt.
pankso@16420 2
pankso@16420 3 PACKAGE="jansson"
Hans-G?nter@24684 4 VERSION="2.14"
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"
Hans-G?nter@24684 9 WEB_SITE="https://www.digip.org/jansson/"
Hans-G?nter@24684 10
pascal@20662 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20662 12 WGET_URL="https://github.com/akheron/jansson/archive/v$VERSION.tar.gz"
pankso@16420 13
pankso@16420 14 DEPENDS="xorg-libX11"
Hans-G?nter@24684 15 BUILD_DEPENDS="automake libtool xorg-libX11-dev"
Hans-G?nter@24684 16
Hans-G?nter@24684 17 HOST_ARCH="i486 arm"
pankso@16420 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
pankso@16420 25 # Rules to configure and make the package.
pankso@16420 26 compile_rules()
pankso@16420 27 {
Hans-G?nter@24684 28 autoreconf -i &&
pankso@16420 29 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24684 30 make &&
Hans-G?nter@24684 31 make install
pankso@16420 32 }
pankso@16420 33
pankso@16420 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16420 35 genpkg_rules()
pankso@16420 36 {
Hans-G?nter@24684 37 cook_copy_files *.so*
pankso@16420 38 }