wok annotate jq/receipt @ rev 25795

created recipe for libxfcegui4-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:34:18 2024 +0100 (4 weeks ago)
parents 5ea0ce1cecc0
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@25599 15 # What is the latest version available today?
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25599 19 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
pascal@24055 20 }
pascal@24055 21
nneul@17883 22 # Rules to configure and make the package.
nneul@17883 23 compile_rules()
nneul@17883 24 {
Hans-G?nter@22974 25 ./configure \
Hans-G?nter@22974 26 --prefix=/usr \
Hans-G?nter@22974 27 --infodir=/usr/share/info \
Hans-G?nter@22974 28 --mandir=/usr/share/man \
Hans-G?nter@22974 29 --with-oniguruma=no \
Hans-G?nter@22974 30 $CONFIGURE_ARGS &&
nneul@17883 31 make &&
nneul@17883 32 make DESTDIR=$DESTDIR install
nneul@17883 33 }
nneul@17883 34
nneul@17883 35 # Rules to gen a SliTaz package suitable for Tazpkg.
nneul@17883 36 genpkg_rules()
nneul@17883 37 {
nneul@17883 38 mkdir -p $fs/usr
Hans-G?nter@22974 39 cp -a $install/usr/bin $fs/usr
nneul@17883 40 }