Mercurial > mxe-octave
annotate src/src-msys-msys-core.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 | d24939e55111 |
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-msys-core |
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 := 1.0.18-1 |
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 := bf78894fcb9ce74e88ea5c7120739170494f158c |
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 := msys-core/msys-$($(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 := msysCORE-$($(PKG)_VERSION)-msys-1.0.18-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)/msys-core' | \ |
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="msys-\([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 |