mirror of https://git.wownero.com/dsc/mxe.git
gc: fix download
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
d5573fe3b3
commit
c8ee03544d
|
@ -7,14 +7,15 @@ $(PKG)_VERSION := 7.2d
|
|||
$(PKG)_CHECKSUM := b43573800e27361da78f05a2e98394521cfa04fc
|
||||
$(PKG)_SUBDIR := $(PKG)-7.2
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := http://www.hpl.hp.com/personal/Hans_Boehm/$(PKG)/$(PKG)_source/$($(PKG)_FILE)
|
||||
$(PKG)_URL := http://hboehm.info/$(PKG)/$(PKG)_source/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/?C=M;O=D' | \
|
||||
$(WGET) -q -O- 'http://hboehm.info/gc/gc_source/' | \
|
||||
grep '<a href="gc-' | \
|
||||
$(SED) -n 's,.*<a href="gc-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
grep -v 'alpha' | \
|
||||
$(SORT) -Vr | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue