comparison src/gmp.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 8a41b8f8e79f
children 47558e958113
comparison
equal deleted inserted replaced
2524:422cb29ca669 2525:4d0f3a9da57e
9 $(PKG)_URL := ftp://ftp.gmplib.org/pub/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) 9 $(PKG)_URL := ftp://ftp.gmplib.org/pub/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE)
10 $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE) 10 $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE)
11 $(PKG)_DEPS := gcc 11 $(PKG)_DEPS := gcc
12 12
13 define $(PKG)_UPDATE 13 define $(PKG)_UPDATE
14 wget -q -O- 'http://www.gmplib.org/' | \ 14 $(WGET) -q -O- 'http://www.gmplib.org/' | \
15 grep '<a href="' | \ 15 grep '<a href="' | \
16 $(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar.*,\1,p' | \ 16 $(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar.*,\1,p' | \
17 grep -v '^4\.' | \ 17 grep -v '^4\.' | \
18 head -1 18 head -1
19 endef 19 endef