wok diff mytop/receipt @ rev 25629
Fix xscreensaver and up to 5.45 (thanks Pat)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Dec 19 20:23:40 2023 +0100 (10 months ago) |
parents | 9600878fc758 |
children |
line diff
1.1 --- a/mytop/receipt Tue Apr 25 18:09:10 2023 +0000 1.2 +++ b/mytop/receipt Tue Dec 19 20:23:40 2023 +0100 1.3 @@ -9,7 +9,8 @@ 1.4 WEB_SITE="http://jeremy.zawodny.com/mysql/mytop/" 1.5 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WGET_URL="https://web.archive.org/web/20150602163826if_/http://www.mysqlfanboy.com/mytop-3/$TARBALL" 1.8 +#WGET_URL="https://web.archive.org/web/20150602163826if_/http://www.mysqlfanboy.com/mytop-3/$TARBALL" 1.9 +WGET_URL="http://www.mysqlfanboy.com/mytop-3/$TARBALL" 1.10 1.11 DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey" 1.12 BUILD_DEPENDS="$DEPENDS" 1.13 @@ -17,8 +18,8 @@ 1.14 # What is the latest version available today? 1.15 current_version() 1.16 { 1.17 - wget -O - $WEB_SITE 2>/dev/null | \ 1.18 - sed '/mytop-[0-9]/!d;s|.*top-||;s|.t.*||;q' 1.19 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.20 + sed '/Version/!d;s|.*Version ||;s|<.*||;q' 1.21 } 1.22 1.23 # Rules to configure and make the package.