Mercurial > mxe-octave
comparison src/gc.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 | c71330d27be9 |
children | 4133f788e558 |
comparison
equal
deleted
inserted
replaced
2524:422cb29ca669 | 2525:4d0f3a9da57e |
---|---|
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | 8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
9 $(PKG)_URL := http://www.hpl.hp.com/personal/Hans_Boehm/$(PKG)/$(PKG)_source/$($(PKG)_FILE) | 9 $(PKG)_URL := http://www.hpl.hp.com/personal/Hans_Boehm/$(PKG)/$(PKG)_source/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc | 10 $(PKG)_DEPS := gcc |
11 | 11 |
12 define $(PKG)_UPDATE | 12 define $(PKG)_UPDATE |
13 wget -q -O- 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/?C=M;O=D' | \ | 13 $(WGET) -q -O- 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/?C=M;O=D' | \ |
14 grep '<a href="gc-' | \ | 14 grep '<a href="gc-' | \ |
15 $(SED) -n 's,.*<a href="gc-\([0-9][^"]*\)\.tar.*,\1,p' | \ | 15 $(SED) -n 's,.*<a href="gc-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
16 grep -v 'alpha' | \ | 16 grep -v 'alpha' | \ |
17 head -1 | 17 head -1 |
18 endef | 18 endef |