Mercurial > mxe-octave
annotate src/msys-bash.mk @ 3929:6cb1bf4d1ab4
osmesa: update path to package
* src/osmesa.mk: update package urk
author | John Donoghue |
---|---|
date | Tue, 05 May 2015 15:08:30 -0400 |
parents | d95b8b84cea7 |
children | cb76b5f50b68 |
rev | line source |
---|---|
2956 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := msys-bash | |
5 $(PKG)_IGNORE := | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
6 $(PKG)_VERSION := 3.1.17-4 |
2956 | 7 $(PKG)_CHECKSUM := 2c0d36bcd474a9d1232cfe35aea6f1beb477b78a |
8 $(PKG)_REMOTE_SUBDIR := bash/bash-$($(PKG)_VERSION) | |
9 $(PKG)_SUBDIR := | |
10 $(PKG)_FILE := bash-$($(PKG)_VERSION)-msys-1.0.16-bin.tar.lzma | |
11 $(PKG)_URL := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download | |
12 $(PKG)_DEPS := | |
13 | |
14 define $(PKG)_UPDATE | |
3708
d95b8b84cea7
enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
15 $(WGET) -q -O- '$(MSYS_BASE_URL)/bash' | \ |
d95b8b84cea7
enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
16 $(SED) -n 's,.*title="bash-\([0-9][^"]*\)".*,\1,p' | \ |
d95b8b84cea7
enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
17 head -1 |
2956 | 18 endef |
19 | |
20 define $(PKG)_BUILD | |
21 mkdir -p '$(MSYS_BASE_DIR)' | |
22 cd '$(1)' && tar cf - . | ( cd '$(MSYS_BASE_DIR)'; tar xpf - ) | |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2956
diff
changeset
|
23 mkdir -p '$(MSYS_INFO_DIR)' |
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2956
diff
changeset
|
24 cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list |
2956 | 25 endef |