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