comparison src/src-msys-bash.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 317642e93df5
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-bash
5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 3.1.17-4
7 $(PKG)_CHECKSUM :=
8 $(PKG)_REMOTE_SUBDIR := bash/bash-$($(PKG)_VERSION)
9 $(PKG)_SUBDIR :=
10 $(PKG)_FILE := bash-$($(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)/bash' | \
16 $(SED) -n 's,.*title="bash-\([0-9][^"]*\)".*,\1,p' | \
17 head -1
18 endef
19
20 define $(PKG)_BUILD
21 endef