wok-6.x annotate dd_rhelp/receipt @ rev 25233
updated python-requests (2.23.0 -> 2.27.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:27:05 2022 +0100 (2022-07-13) |
parents | 7896f0694ef6 |
children |
rev | line source |
---|---|
pascal@13870 | 1 # SliTaz package receipt. |
pascal@13870 | 2 |
pascal@13870 | 3 PACKAGE="dd_rhelp" |
pascal@13870 | 4 VERSION="0.3.0" |
pascal@13870 | 5 CATEGORY="system-tools" |
pascal@13870 | 6 SHORT_DESC="Block device copy tools." |
pascal@13870 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@13870 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13870 | 10 WEB_SITE="http://www.kalysto.org/utilities/dd_rhelp/" |
pascal@13870 | 11 WGET_URL="http://www.kalysto.org/pkg/$TARBALL" |
pascal@13870 | 12 |
pascal@15002 | 13 DEPENDS="bash dd_rescue" |
pascal@15002 | 14 |
pascal@24439 | 15 # What is the latest version available today? |
pascal@24439 | 16 current_version() |
pascal@24439 | 17 { |
pascal@24439 | 18 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24439 | 19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24439 | 20 } |
pascal@24439 | 21 |
pascal@13870 | 22 # Rules to configure and make the package. |
pascal@13870 | 23 compile_rules() |
pascal@13870 | 24 { |
pascal@13870 | 25 cd $src |
pascal@13870 | 26 } |
pascal@13870 | 27 |
pascal@13870 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13870 | 29 genpkg_rules() |
pascal@13870 | 30 { |
pascal@13870 | 31 mkdir -p $fs/usr/bin |
pascal@13870 | 32 cp -a $src/dd_rhelp $fs/usr/bin |
pascal@13870 | 33 } |
pascal@13870 | 34 |