wok-6.x annotate dd_rhelp/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (18 months ago) |
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 |