comparison src/src-msys-gzip.mk @ 3709:c8546fe79bc9

download src files for msys packages when building Windows zip file or installer
author John W. Eaton <jwe@octave.org>
date Thu, 04 Sep 2014 16:30:14 -0400
parents
children
comparison
equal deleted inserted replaced
3708:d95b8b84cea7 3709:c8546fe79bc9
1 # This file is part of MXE.
2 # See index.html for further information.
3
4 PKG := src-msys-gzip
5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 1.3.12-2
7 $(PKG)_CHECKSUM := c76bedc6e1afdb48bf10dd14b5c1986096e25290
8 $(PKG)_REMOTE_SUBDIR := gzip/gzip-$($(PKG)_VERSION)
9 $(PKG)_SUBDIR :=
10 $(PKG)_FILE := gzip-$($(PKG)_VERSION)-msys-1.0.13-src.tar.lzma
11 $(PKG)_URL := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
12 $(PKG)_DEPS :=
13
14 define $(PKG)_UPDATE
15 $(WGET) -q -O- '$(MSYS_BASE_URL)/gzip' | \
16 $(SED) -n 's,.*title="gzip-\([0-9][^"]*\)".*,\1,p' | \
17 head -1
18 endef
19
20 define $(PKG)_BUILD
21 endef