diff options
author | Tony Theodore <tonyt@logyst.com> | 2017-11-09 12:58:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-09 12:58:05 (GMT) |
commit | c808163964c787e13c0f75107d5e98c0b73558dc (patch) | |
tree | f6a9f6398a51c25bf5996ec5c0c11bf5be13f01f /src/gc.mk | |
parent | 8a1320264e2f50cc2edcea2641d0c4afda1d7e9d (diff) | |
parent | a653f80e7e184b4ba7169a36672ed0f94c5aabdc (diff) | |
download | mxe-c808163964c787e13c0f75107d5e98c0b73558dc.zip mxe-c808163964c787e13c0f75107d5e98c0b73558dc.tar.gz mxe-c808163964c787e13c0f75107d5e98c0b73558dc.tar.bz2 |
Merge pull request #1969 from tonytheodore/github-releases
Add support for GitHub releases api
Diffstat (limited to 'src/gc.mk')
-rw-r--r-- | src/gc.mk | 19 |
1 files changed, 5 insertions, 14 deletions
@@ -1,24 +1,15 @@ # This file is part of MXE. See LICENSE.md for licensing information. PKG := gc -$(PKG)_WEBSITE := http://www.hpl.hp.com/personal/Hans_Boehm/gc/ +$(PKG)_WEBSITE := https://github.com/ivmai/bdwgc $(PKG)_IGNORE := -$(PKG)_VERSION := 7.6.0 -$(PKG)_CHECKSUM := a14a28b1129be90e55cd6f71127ffc5594e1091d5d54131528c24cd0c03b7d90 +$(PKG)_VERSION := 7.4.6 +$(PKG)_CHECKSUM := 8c9b91cc2facc7d0ec3829fe9ab29179c1879adafecb4474a827aa2a18596533 +$(PKG)_GH_CONF := ivmai/bdwgc/releases/latest,v $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) -$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := https://hboehm.info/$(PKG)/$(PKG)_source/$($(PKG)_FILE) +$(PKG)_URL := https://github.com/ivmai/bdwgc/releases/download/v$($(PKG)_VERSION)/$($(PKG)_SUBDIR).tar.gz $(PKG)_DEPS := gcc libatomic_ops -define $(PKG)_UPDATE - $(WGET) -q -O- 'https://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 - define $(PKG)_BUILD # build and install the library cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \ |