wok view yajl/receipt @ rev 24386
updated bozohttpd (20190228 -> 20210227)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 07 13:22:58 2022 +0100 (2022-02-07) |
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 }