wok view jansson/receipt @ rev 25614

Add libslirp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 11:59:41 2023 +0000 (15 months ago)
parents 6ee95ce8dd55
children 72fb3028d8ce
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 autoreconf -i &&
30 ./configure $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files *.so*
39 }