diff options
author | Viktor Szakats <commit@vszakats.net> | 2019-05-04 06:46:12 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2019-05-05 10:21:25 (GMT) |
commit | 20ceee7529ba51bb5bebbf61cdb642b770110a5a (patch) | |
tree | d7c9f3b711606c499c3fafcd21ecee74ac5933dd /src/json-c.mk | |
parent | fdd14fc3467ae3521d932fd1b171412e0397d723 (diff) | |
download | mxe-20ceee7529ba51bb5bebbf61cdb642b770110a5a.zip mxe-20ceee7529ba51bb5bebbf61cdb642b770110a5a.tar.gz mxe-20ceee7529ba51bb5bebbf61cdb642b770110a5a.tar.bz2 |
Switch to virtual-hosted style URLs for S3
Ref: https://forums.aws.amazon.com/ann.jspa?annID=6776
Diffstat (limited to 'src/json-c.mk')
-rw-r--r-- | src/json-c.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json-c.mk b/src/json-c.mk index 08d0d51..40614ac 100644 --- a/src/json-c.mk +++ b/src/json-c.mk @@ -7,11 +7,11 @@ $(PKG)_VERSION := 0.13.1 $(PKG)_CHECKSUM := 94a26340c0785fcff4f46ff38609cf84ebcd670df0c8efd75d039cc951d80132 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION)-nodoc.tar.gz -$(PKG)_URL := https://s3.amazonaws.com/$(PKG)_releases/releases/$($(PKG)_FILE) +$(PKG)_URL := https://$(PKG)_releases.s3.amazonaws.com/releases/$($(PKG)_FILE) $(PKG)_DEPS := cc define $(PKG)_UPDATE - $(WGET) -q -O- 'https://s3.amazonaws.com/json-c_releases' | \ + $(WGET) -q -O- 'https://json-c_releases.s3.amazonaws.com' | \ $(SED) -r 's,<Key>,\n<Key>,g' | \ $(SED) -n 's,.*releases/json-c-\([0-9.]*\).tar.gz.*,\1,p' | \ $(SORT) -V | \ |