wok diff pth/receipt @ rev 24842
updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:45:42 2022 +0100 (2022-03-25) |
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 Mar 25 09:45:42 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 {