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

Up foomatic-db (4.0-20221114)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 15 16:37:39 2022 +0000 (23 months ago)
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 }