changed download mechanism to allow for simple integration of post-download filters, at the cost of not being able to contine interrupted downloads

pull/13/head
Volker Grabsch 14 years ago
parent 8469492843
commit 3d1c3af5ab

@ -60,9 +60,9 @@ CHECK_PKG_ARCHIVE = \
DOWNLOAD_PKG_ARCHIVE = \
mkdir -p '$(PKG_DIR)' && \
$(if $($(1)_URL_2), \
wget -T 30 -t 3 -c -O '$(PKG_DIR)/$($(1)_FILE)' '$($(1)_URL)' \
|| wget -c -O '$(PKG_DIR)/$($(1)_FILE)' '$($(1)_URL_2)', \
wget -c -O '$(PKG_DIR)/$($(1)_FILE)' '$($(1)_URL)')
( wget -T 30 -O - '$($(1)_URL)' || wget -O - '$($(1)_URL_2)' ), \
wget -O - '$($(1)_URL)') \
> '$(PKG_DIR)/$($(1)_FILE)'
SOURCEFORGE_FILES = \
wget -q -O- '$(1)' | \

Loading…
Cancel
Save