wok view bchunk/receipt @ rev 24974

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