summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-11-28 12:51:03 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-11-28 12:51:03 (GMT)
commitf53eac4b7fb528e879f424cdb847de50a90ce73c (patch)
treeaf641cbf31368bc250cd0e3f6b4c5ad387c7977d
parent3d1c3af5ab6aeb180e2251affb4737b306283192 (diff)
downloadmxe-f53eac4b7fb528e879f424cdb847de50a90ce73c.zip
mxe-f53eac4b7fb528e879f424cdb847de50a90ce73c.tar.gz
mxe-f53eac4b7fb528e879f424cdb847de50a90ce73c.tar.bz2
implemented $(PKG)_FIX_GZIP for GitWeb snapshots and similar issues
More information about this issue: http://lists.nongnu.org/archive/html/mingw-cross-env-list/2010-11/msg00066.html
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cacbc89..d5a3252 100644
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,9 @@ DOWNLOAD_PKG_ARCHIVE = \
$(if $($(1)_URL_2), \
( wget -T 30 -O - '$($(1)_URL)' || wget -O - '$($(1)_URL_2)' ), \
wget -O - '$($(1)_URL)') \
+ $(if $($(1)_FIX_GZIP), \
+ | gzip -d | gzip -9n, \
+ ) \
> '$(PKG_DIR)/$($(1)_FILE)'
SOURCEFORGE_FILES = \