wok-current annotate bchunk/receipt @ rev 24299
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 15:21:40 2022 +0000 (2022-01-15) |
parents | 5ea0ce1cecc0 |
children | e1e1678c5265 |
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@4047 | 13 WGET_URL="$WEB_SITE/$TARBALL" |
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 } |