Skip to content

Commit

Permalink
gc: fix download
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
  • Loading branch information
TimothyGu committed Aug 29, 2014
1 parent d5573fe commit c8ee035
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c8ee035

Please sign in to comment.