wok-6.x annotate jq/receipt @ rev 25438
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 11:12:31 2022 +0000 (23 months ago) |
parents | f9a649f31165 |
children |
rev | line source |
---|---|
nneul@17883 | 1 # SliTaz package receipt. |
nneul@17883 | 2 |
nneul@17883 | 3 PACKAGE="jq" |
Hans-G?nter@22974 | 4 VERSION="1.6" |
nneul@17883 | 5 CATEGORY="utilities" |
Hans-G?nter@22974 | 6 TAGS="json" |
Hans-G?nter@22974 | 7 SHORT_DESC="A lightweight and flexible command-line JSON processor." |
nneul@17883 | 8 MAINTAINER="nneul@neulinger.org" |
nneul@17883 | 9 LICENSE="MIT" |
Hans-G?nter@22974 | 10 WEB_SITE="https://stedolan.github.io/jq/" |
Hans-G?nter@22974 | 11 |
al@19001 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22974 | 13 WGET_URL="https://github.com/stedolan/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL" |
nneul@17883 | 14 |
pascal@24055 | 15 current_version() |
pascal@24055 | 16 { |
pascal@24055 | 17 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 18 sed '/archive.*tar/!d;s|.*/jq-\(.*\).tar.*|\1|;q' |
pascal@24055 | 19 } |
pascal@24055 | 20 |
nneul@17883 | 21 # Rules to configure and make the package. |
nneul@17883 | 22 compile_rules() |
nneul@17883 | 23 { |
Hans-G?nter@22974 | 24 ./configure \ |
Hans-G?nter@22974 | 25 --prefix=/usr \ |
Hans-G?nter@22974 | 26 --infodir=/usr/share/info \ |
Hans-G?nter@22974 | 27 --mandir=/usr/share/man \ |
Hans-G?nter@22974 | 28 --with-oniguruma=no \ |
Hans-G?nter@22974 | 29 $CONFIGURE_ARGS && |
nneul@17883 | 30 make && |
nneul@17883 | 31 make DESTDIR=$DESTDIR install |
nneul@17883 | 32 } |
nneul@17883 | 33 |
nneul@17883 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17883 | 35 genpkg_rules() |
nneul@17883 | 36 { |
nneul@17883 | 37 mkdir -p $fs/usr |
Hans-G?nter@22974 | 38 cp -a $install/usr/bin $fs/usr |
nneul@17883 | 39 } |