wok diff drbl/receipt @ rev 25804
created recipe for wm-switcher
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:16:07 2024 +0100 (3 months ago) |
parents | d79ed38ace18 |
children |
line diff
1.1 --- a/drbl/receipt Thu Jul 20 14:03:05 2023 +0000 1.2 +++ b/drbl/receipt Wed Nov 13 15:16:07 2024 +0100 1.3 @@ -9,8 +9,6 @@ 1.4 WEB_SITE="https://drbl.org/" 1.5 1.6 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.7 -#WGET_URL="http://free.nchc.org.tw/$PACKAGE-core/src/stable/$TARBALL" 1.8 -#https://sourceforge.net/projects/drbl/files/drbl_stable/2.25.10/drbl-2.25.10.tar.xz/download 1.9 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.10 1.11 DEPENDS="bash bc binutils dialog disktype dmidecode e2fsprogs ethtool expect \ 1.12 @@ -21,8 +19,9 @@ 1.13 # What is the latest version available today? 1.14 current_version() 1.15 { 1.16 - wget -O - https://sourceforge.net/p/drbl/news/ 2>/dev/null | \ 1.17 - sed '/released/!d;/table/!d;s|.*(||;s|).*||;q' 1.18 + wget -O - https://sourceforge.net/projects/drbl/files/drbl_stable/ 2>/dev/null | \ 1.19 + sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ 1.20 + sed '/scope="row/!d;s|.*/drbl-||;s|-.*||;q' 1.21 } 1.22 1.23 # Rules to configure and make the package.