comparison src/gnutls.mk @ 2525:4d0f3a9da57e

all packages: use $(WGET) portability variable
author Tony Theodore <tonyt@logyst.com>
date Wed, 09 May 2012 01:16:05 +1000
parents dd839ef15f57
children 94d12f0e052c
comparison
equal deleted inserted replaced
2524:422cb29ca669 2525:4d0f3a9da57e
8 $(PKG)_URL := ftp://ftp.gnutls.org/pub/gnutls/$($(PKG)_FILE) 8 $(PKG)_URL := ftp://ftp.gnutls.org/pub/gnutls/$($(PKG)_FILE)
9 $(PKG)_URL_2 := ftp://ftp.gnupg.org/gcrypt/gnutls/$($(PKG)_FILE) 9 $(PKG)_URL_2 := ftp://ftp.gnupg.org/gcrypt/gnutls/$($(PKG)_FILE)
10 $(PKG)_DEPS := gcc nettle zlib 10 $(PKG)_DEPS := gcc nettle zlib
11 11
12 define $(PKG)_UPDATE 12 define $(PKG)_UPDATE
13 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=tags' | \ 13 $(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=tags' | \
14 grep '<a class="list name"' | \ 14 grep '<a class="list name"' | \
15 $(SED) -n 's,.*<a[^>]*>gnutls_\([0-9]*_[0-9]*[02468]_[^<]*\)<.*,\1,p' | \ 15 $(SED) -n 's,.*<a[^>]*>gnutls_\([0-9]*_[0-9]*[02468]_[^<]*\)<.*,\1,p' | \
16 $(SED) 's,_,.,g' | \ 16 $(SED) 's,_,.,g' | \
17 grep -v '^2\.' | \ 17 grep -v '^2\.' | \
18 head -1 18 head -1