Mercurial > mxe-octave
comparison src/gc.mk @ 3561:ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 08 Mar 2014 17:40:00 -0500 |
parents | 13be64f9f16d |
children |
comparison
equal
deleted
inserted
replaced
3560:e14baae9ec8c | 3561:ae4193aad5fe |
---|---|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
10 $(PKG)_URL := http://www.hpl.hp.com/personal/Hans_Boehm/$(PKG)/$(PKG)_source/$($(PKG)_FILE) | 10 $(PKG)_URL := http://www.hpl.hp.com/personal/Hans_Boehm/$(PKG)/$(PKG)_source/$($(PKG)_FILE) |
11 $(PKG)_DEPS := | 11 $(PKG)_DEPS := |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/?C=M;O=D' | \ | 14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
15 grep '<a href="gc-' | \ | 15 echo $($(PKG)_VERSION) |
16 $(SED) -n 's,.*<a href="gc-\([0-9][^"]*\)\.tar.*,\1,p' | \ | |
17 grep -v 'alpha' | \ | |
18 head -1 | |
19 endef | 16 endef |
20 | 17 |
21 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
22 cd '$(1)' && ./configure \ | 19 cd '$(1)' && ./configure \ |
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 20 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |