wok diff debootstrap/receipt @ rev 25515
Update qemu website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 09:52:04 2023 +0000 (21 months ago) |
parents | b78e79c31b1f |
children |
line diff
1.1 --- a/debootstrap/receipt Fri Feb 11 11:14:46 2022 +0000 1.2 +++ b/debootstrap/receipt Sun Feb 19 09:52:04 2023 +0000 1.3 @@ -11,15 +11,15 @@ 1.4 #TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 #WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL" 1.6 TARBALL="${PACKAGE}_$VERSION.tar.gz" 1.7 -WGET_URL="http://deb.debian.org/debian/pool/main/d/$PACKAGE/$TARBALL" 1.8 +WGET_URL="https://github.com/felixonmars/debootstrap/archive/refs/tags/$VERSION.tar.gz" 1.9 1.10 DEPENDS="dpkg tar" 1.11 1.12 # What is the latest version available today? 1.13 current_version() 1.14 { 1.15 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.16 - sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.17 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.18 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.19 } 1.20 1.21 # Rules to configure and make the package.