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