wok view yajl/receipt @ rev 25370

updated tmux (3.0a -> 3.3a)
author Hans-G?nter Theisgen
date Fri Jul 29 14:23:40 2022 +0100 (2022-07-29)
parents ac8ca9758df1
children
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/refs/tags/$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 }