wok annotate bchunk/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents ac8ca9758df1
children 343c093ad221
rev   line source
pascal@4047 1 # SliTaz package receipt.
pascal@4047 2
pascal@4047 3 PACKAGE="bchunk"
Hans-G?nter@20742 4 VERSION="1.2.2"
pascal@4047 5 CATEGORY="misc"
Hans-G?nter@20742 6 TAGS="convert CD bin cue iso"
pascal@4047 7 SHORT_DESC="Converts a CD image in a '.bin / .cue' format to '.iso'."
pascal@4047 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15482 9 LICENSE="GPL2"
pascal@21506 10 WEB_SITE="https://github.com/hessu/bchunk"
Hans-G?nter@20742 11
pascal@4047 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24974 13 WGET_URL="$WEB_SITE/archive/refs/tags/release/$VERSION.tar.gz"
pascal@4047 14
pascal@24055 15 current_version()
pascal@24055 16 {
pascal@24299 17 wget -O - ${WGET_URL%/bchunk*}/tags 2>/dev/null | \
pascal@24055 18 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 19 }
pascal@24055 20
pascal@4047 21 # Rules to configure and make the package.
pascal@4047 22 compile_rules()
pascal@4047 23 {
pascal@4047 24 make
al@19275 25 cook_pick_manpages bchunk.1
pascal@4047 26 }
pascal@4047 27
pascal@4047 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4047 29 genpkg_rules()
pascal@4047 30 {
pascal@4047 31 mkdir -p $fs/usr/bin
pascal@4047 32 cp $src/bchunk $fs/usr/bin
pascal@4047 33 }