Mercurial > mxe-octave
comparison src/plotutils.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 | b5321bdec505 |
children | 47558e958113 |
comparison
equal
deleted
inserted
replaced
2524:422cb29ca669 | 2525:4d0f3a9da57e |
---|---|
9 $(PKG)_URL := http://ftpmirror.gnu.org/$(PKG)/$($(PKG)_FILE) | 9 $(PKG)_URL := http://ftpmirror.gnu.org/$(PKG)/$($(PKG)_FILE) |
10 $(PKG)_URL_2 := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) | 10 $(PKG)_URL_2 := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) |
11 $(PKG)_DEPS := gcc libpng pthreads | 11 $(PKG)_DEPS := gcc libpng pthreads |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 wget -q -O- 'http://ftp.gnu.org/gnu/plotutils/?C=M;O=D' | \ | 14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/plotutils/?C=M;O=D' | \ |
15 grep '<a href="plotutils-' | \ | 15 grep '<a href="plotutils-' | \ |
16 $(SED) -n 's,.*plotutils-\([0-9][^<]*\)\.tar.*,\1,p' | \ | 16 $(SED) -n 's,.*plotutils-\([0-9][^<]*\)\.tar.*,\1,p' | \ |
17 head -1 | 17 head -1 |
18 endef | 18 endef |
19 | 19 |