wok-6.x diff ptlib/receipt @ rev 25561
created recipe for ext4magic
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 30 06:26:09 2023 +0100 (18 months ago) |
parents | 78bc4b109dd6 |
children |
line diff
1.1 --- a/ptlib/receipt Sat Jul 25 08:45:16 2020 +0000 1.2 +++ b/ptlib/receipt Sun Apr 30 06:26:09 2023 +0100 1.3 @@ -16,6 +16,14 @@ 1.4 BUILD_DEPENDS="alsa-lib-dev cyrus-sasl-dev flex openssl-dev \ 1.5 pkg-config zlib-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + local base=http://ftp.gnome.org/pub/gnome/sources/$PACKAGE 1.10 + wget -O - $base/$(wget -O - $base 2>/dev/null | \ 1.11 + sed '/href=.[0-9]/!d;s|.*href=.||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ 1.12 + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.13 +} 1.14 + 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 {