wok-current annotate nrg2iso/receipt @ rev 25002
updated nrg2iso (0.4 -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:45:30 2022 +0100 (2022-05-16) |
parents | d7522d21c4d3 |
children |
rev | line source |
---|---|
pascal@20695 | 1 # SliTaz package receipt. |
pascal@20695 | 2 |
pascal@20695 | 3 PACKAGE="nrg2iso" |
Hans-G?nter@25002 | 4 VERSION="0.4.1" |
pascal@20695 | 5 CATEGORY="system-tools" |
Hans-G?nter@25002 | 6 TAGS="CD DVD ISO9660" |
Hans-G?nter@25002 | 7 SHORT_DESC="Convert CD (or DVD) image generated by Nero Burning Rom to ISO format." |
pascal@20695 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20695 | 9 LICENSE="GPL2" |
Hans-G?nter@25002 | 10 WEB_SITE="http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html" |
Hans-G?nter@25002 | 11 |
pascal@20695 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20695 | 13 WGET_URL="http://gregory.kokanosky.free.fr/v4/linux/$TARBALL" |
pascal@20695 | 14 |
pascal@24500 | 15 # What is the latest version available today? |
pascal@24500 | 16 current_version() |
pascal@24500 | 17 { |
pascal@24500 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24500 | 19 sed "/latest/!d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24500 | 20 } |
pascal@24500 | 21 |
pascal@20695 | 22 # Rules to configure and make the package. |
pascal@20695 | 23 compile_rules() |
pascal@20695 | 24 { |
pascal@20695 | 25 make |
pascal@20695 | 26 } |
pascal@20695 | 27 |
pascal@20695 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20695 | 29 genpkg_rules() |
pascal@20695 | 30 { |
pascal@20695 | 31 mkdir -p $fs/usr/bin |
Hans-G?nter@25002 | 32 cp $src/nrg2iso $fs/usr/bin |
pascal@20695 | 33 } |