comparison src/src-msys-patch.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-patch
5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 2.6.1-1
7 $(PKG)_CHECKSUM := bdf8933845b2e2d5aad5fc05bf2665845a8091a3
8 $(PKG)_REMOTE_SUBDIR := patch/patch-$($(PKG)_VERSION)
9 $(PKG)_SUBDIR :=
10 $(PKG)_FILE := patch-$($(PKG)_VERSION)-msys-1.0.13-src.tar.lzma
11 $(PKG)_URL := $(MSYS_EXTENSION_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
12 $(PKG)_DEPS :=
13
14 define $(PKG)_UPDATE
15 $(WGET) -q -O- '$(MSYS_EXTENSION_URL)/patch' | \
16 $(SED) -n 's,.*title="patch-\([0-9][^"]*\)".*,\1,p' | \
17 head -1
18 endef
19
20 define $(PKG)_BUILD
21 endef