wok view bchunk/receipt @ rev 24074
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 09:18:48 2021 +0000 (2021-07-08) |
parents | 626c3828c08f |
children | ac8ca9758df1 |
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/$TARBALL"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/bchunk*}/releases 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 }