Mercurial > mxe-octave
comparison Makefile @ 1438:698e4de6d9a6
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
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 28 Nov 2010 13:51:03 +0100 |
parents | 181c89101ae0 |
children | ec04ad91c913 |
comparison
equal
deleted
inserted
replaced
1437:181c89101ae0 | 1438:698e4de6d9a6 |
---|---|
60 DOWNLOAD_PKG_ARCHIVE = \ | 60 DOWNLOAD_PKG_ARCHIVE = \ |
61 mkdir -p '$(PKG_DIR)' && \ | 61 mkdir -p '$(PKG_DIR)' && \ |
62 $(if $($(1)_URL_2), \ | 62 $(if $($(1)_URL_2), \ |
63 ( wget -T 30 -O - '$($(1)_URL)' || wget -O - '$($(1)_URL_2)' ), \ | 63 ( wget -T 30 -O - '$($(1)_URL)' || wget -O - '$($(1)_URL_2)' ), \ |
64 wget -O - '$($(1)_URL)') \ | 64 wget -O - '$($(1)_URL)') \ |
65 $(if $($(1)_FIX_GZIP), \ | |
66 | gzip -d | gzip -9n, \ | |
67 ) \ | |
65 > '$(PKG_DIR)/$($(1)_FILE)' | 68 > '$(PKG_DIR)/$($(1)_FILE)' |
66 | 69 |
67 SOURCEFORGE_FILES = \ | 70 SOURCEFORGE_FILES = \ |
68 wget -q -O- '$(1)' | \ | 71 wget -q -O- '$(1)' | \ |
69 grep 'title="/' | \ | 72 grep 'title="/' | \ |