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