wok-6.x view yajl/receipt @ rev 24966

updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author Hans-G?nter Theisgen
date Mon Apr 25 07:28:45 2022 +0100 (2022-04-25)
parents 5ea0ce1cecc0
children e1e1678c5265
line source
1 # SliTaz package receipt.
3 PACKAGE="yajl"
4 VERSION="2.1.0"
5 CATEGORY="development"
6 SHORT_DESC="Yet Another JSON Library."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://lloyd.github.io/yajl/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/lloyd/$PACKAGE/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake doxygen git"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cmake . \
26 -DCMAKE_INSTALL_PREFIX=/usr &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }