Fix downloading json_spirit,liboauth, and netcdf

See #774.
This commit is contained in:
Timothy Gu 2015-07-26 20:32:17 -04:00
parent 3d9c254ac1
commit 86ea3b3e5f
3 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ $(PKG)_FILE := $(PKG)_v$($(PKG)_VERSION).zip
# The original source of this file at
# http://www.codeproject.com/KB/recipes/JSON_Spirit/json_spirit_v4.08.zip
# is behind a login screen. Use manually downloaded cache on the S3 bucket.
$(PKG)_URL = $(PKG_MIRROR)/$(shell $(call ESCAPE_PKG,json_spirit))
$(PKG)_URL = $(PKG_MIRROR)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc boost
define $(PKG)_UPDATE

View File

@ -7,11 +7,11 @@ $(PKG)_VERSION := 1.0.3
$(PKG)_CHECKSUM := 791dbb4166b5d2c843c8ff48ac17284cc0884af2
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://liboauth.sourceforge.net/pool/$($(PKG)_FILE)
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc curl openssl
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://liboauth.sourceforge.net/' | \
$(WGET) -q -O- 'http://sourceforge.net/projects/liboauth/files/' | \
$(SED) -n 's,.*liboauth-\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef

View File

@ -7,7 +7,7 @@ $(PKG)_VERSION := 4.3.0
$(PKG)_CHECKSUM := 246e4963e66e1c175563cc9a714e9da0a19b8b07
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://www.unidata.ucar.edu/downloads/netcdf/ftp/$($(PKG)_FILE)
$(PKG)_URL := ftp://ftp.unidata.ucar.edu/pub/netcdf/old/$($(PKG)_FILE)
$(PKG)_DEPS := gcc curl hdf4 hdf5 portablexdr zlib
define $(PKG)_UPDATE