wok-current diff lvm2/receipt @ rev 24437
updated coreutils packages (8.31 -> 9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 13 17:24:01 2022 +0100 (2022-02-13) |
parents | 1aa68395bb51 |
children | 2f97ce3121ff |
line diff
1.1 --- a/lvm2/receipt Sun Mar 15 10:14:44 2020 +0100 1.2 +++ b/lvm2/receipt Sun Feb 13 17:24:01 2022 +0100 1.3 @@ -10,12 +10,18 @@ 1.4 1.5 SOURCE="LVM2" 1.6 TARBALL="$SOURCE.$VERSION.tgz" 1.7 -WGET_URL="ftp://sourceware.org/pub/lvm2/old/$TARBALL" 1.8 +WGET_URL="http://sourceware.org/pub/lvm2/old/$TARBALL" 1.9 1.10 DEPENDS="libaio libdevmapper linux-md ncurses readline" 1.11 BUILD_DEPENDS="coreutils-file-format libaio-dev ncurses-dev readline-dev 1.12 udev-dev" 1.13 1.14 +current_version() 1.15 +{ 1.16 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.17 + sed "/$SOURCE.[0-9]/!d;s|.*$SOURCE.\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q 1.18 +} 1.19 + 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 {