wok-6.x view jansson/receipt @ rev 25000

updated nms (0.3.3 -> 1.0.1)
author Hans-G?nter Theisgen
date Mon May 16 13:53:18 2022 +0100 (2022-05-16)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="jansson"
4 VERSION="2.14"
5 CATEGORY="x-window"
6 SHORT_DESC="C library for encoding, decoding and manipulating JSON data."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.digip.org/jansson/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/akheron/jansson/archive/v$VERSION.tar.gz"
14 DEPENDS="xorg-libX11"
15 BUILD_DEPENDS="automake libtool xorg-libX11-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoreconf -i &&
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so*
38 }