wok view jansson/receipt @ rev 24486

updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author Hans-G?nter Theisgen
date Fri Feb 18 16:54:18 2022 +0100 (2022-02-18)
parents f5c4924e8cd9
children 6ee95ce8dd55
line source
1 # SliTaz package receipt.
3 PACKAGE="jansson"
4 VERSION="2.12"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.digip.org/jansson/"
11 WGET_URL="https://github.com/akheron/jansson/archive/v$VERSION.tar.gz"
12 HOST_ARCH="i486 arm"
14 DEPENDS="xorg-libX11"
15 BUILD_DEPENDS="xorg-libX11-dev automake libtool"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoreconf -i
27 ./configure $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }