annotate src/src-msys-findutils.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3709
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := src-msys-findutils
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 4.4.2-2
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 7f0552c56197e8c306845cc9e4334d3dd7a719da
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR := findutils/findutils-$($(PKG)_VERSION)
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_SUBDIR :=
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_FILE := findutils-$($(PKG)_VERSION)-msys-1.0.13-src.tar.lzma
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_URL := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 $(PKG)_DEPS :=
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 define $(PKG)_UPDATE
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 $(WGET) -q -O- '$(MSYS_BASE_URL)/findutils' | \
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 $(SED) -n 's,.*title="findutils-\([0-9][^"]*\)".*,\1,p' | \
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 head -1
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 endef
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_BUILD
c8546fe79bc9 download src files for msys packages when building Windows zip file or installer
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 endef