On Mon, Aug 19, 2002, Michael Schloh wrote:
> Try to fix version tracking for gtk+.
>
> Summary:
> Revision Changes Path
> 1.2 +1 -1 openpkg-re/vcheck/vc.gtk
> ____________________________________________________________________________
>
> Index: openpkg-re/vcheck/vc.gtk
> ============================================================
> $ cvs diff -u -r1.1 -r1.2 vc.gtk
> --- openpkg-re/vcheck/vc.gtk 15 Mar 2002 14:52:14 -0000 1.1
> +++ openpkg-re/vcheck/vc.gtk 19 Aug 2002 15:42:01 -0000 1.2
> @@ -3,7 +3,7 @@
>
> prog gtk = {
> version = 1.2.10
> - url = ftp://ftp.gtk.org/pub/gtk/v1.2/
> + url = ftp://ftp.gtk.org/pub/gtk/v__NEWVER__/
> regex = gtk\+-(__VER__)\.tar\.gz
No, this doesn't work. __NEWVER__ is the result
of a previous matching "url"+"regex" directive. What you want
is something like
prog gtk = {
version = 1.2.10
url = ftp://ftp.gtk.org/pub/gtk/
regex = (v__VER__)
url = ftp://ftp.gtk.org/pub/gtk/__NEWVER__/
regex = gtk\+-(__VER__)\.tar\.gz
}
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]