wok-6.x diff pth/receipt @ rev 24944
updated n2n (2.4 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 16:44:33 2022 +0100 (2022-04-22) |
parents | bf4a09ef1d2e |
children | 1805f71c5d9f |
line diff
1.1 --- a/pth/receipt Fri Oct 18 22:13:53 2013 +0000 1.2 +++ b/pth/receipt Fri Apr 22 16:44:33 2022 +0100 1.3 @@ -8,10 +8,17 @@ 1.4 LICENSE="LGPL2.1" 1.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.6 WEB_SITE="http://www.gnu.org/software/pth/" 1.7 -WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL" 1.8 +WGET_URL="http://ftp.ossp.org/pkg/lib/pth/$TARBALL" 1.9 1.10 DEPENDS="libltdl" 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 "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q 1.17 +} 1.18 + 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 {