Mercurial > mxe-octave
comparison src/gd.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 |
---|---|
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 echo 'Warning: Updates are temporarily disabled for package gd.' >&2; | 14 echo 'Warning: Updates are temporarily disabled for package gd.' >&2; |
15 echo $(gd_VERSION) | 15 echo $(gd_VERSION) |
16 endef | 16 endef |
17 define $(PKG)_UPDATE_orig | 17 define $(PKG)_UPDATE_orig |
18 wget -q -O- 'http://www.libgd.org/releases/' | \ | 18 $(WGET) -q -O- 'http://www.libgd.org/releases/' | \ |
19 $(SED) -n 's,.*gd-\([0-9][^>]*\)\.tar.*,\1,p' | \ | 19 $(SED) -n 's,.*gd-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
20 head -1 | 20 head -1 |
21 endef | 21 endef |
22 | 22 |
23 define $(PKG)_BUILD | 23 define $(PKG)_BUILD |