wok diff amiwm/receipt @ rev 24984
Up ufr2 (2.40-2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 10 07:46:30 2022 +0000 (2022-05-10) |
parents | 29ddbebcc777 |
children |
line diff
1.1 --- a/amiwm/receipt Sat Jun 23 11:18:40 2018 +0200 1.2 +++ b/amiwm/receipt Tue May 10 07:46:30 2022 +0000 1.3 @@ -9,12 +9,19 @@ 1.4 WEB_SITE="http://www.lysator.liu.se/~marcus/amiwm.html" 1.5 1.6 TARBALL="$PACKAGE$VERSION.tar.gz" 1.7 -WGET_URL="ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL" 1.8 +WGET_URL="http://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL" 1.9 1.10 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu" 1.11 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev xorg-libXt-dev \ 1.12 xorg-libXmu-dev" 1.13 1.14 +# What is the latest version available today? 1.15 +current_version() 1.16 +{ 1.17 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.18 + sed "/latest/d;/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.19 +} 1.20 + 1.21 compile_rules() { 1.22 patch -p1 < $stuff/patches/amiwm-man.patch 1.23 ./configure $CONFIGURE_ARGS &&