Mercurial > mxe-octave
annotate src/msys-sed.mk @ 6203:8b23f76955c6 release
ICU4C: Use GCC for native version even if clang is installed.
* src/icu4c.mk: ICU4C seems to prefer clang for building the native version if
it is installed on the build system. But it looks like that doesn't work for
some reason. When cross-compiling, use GCC for the native version instead.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 05 May 2022 11:22:40 +0200 |
parents | ae4193aad5fe |
children |
rev | line source |
---|---|
2956 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := msys-sed | |
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 := 4.2.1-2 |
2956 | 7 $(PKG)_CHECKSUM := ced60ab96ab3f713da0d0a570232f2a5f0ec5270 |
8 $(PKG)_REMOTE_SUBDIR := sed/sed-$($(PKG)_VERSION) | |
9 $(PKG)_SUBDIR := | |
10 $(PKG)_FILE := sed-$($(PKG)_VERSION)-msys-1.0.13-bin.tar.lzma | |
11 $(PKG)_URL := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download | |
12 $(PKG)_DEPS := | |
13 | |
14 define $(PKG)_UPDATE | |
3561
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
15 $(WGET) -q -O- '$(MSYS_BASE_URL)/sed' | \ |
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
16 $(SED) -n 's,.*title="sed-\([0-9][^"]*\)".*,\1,p' | \ |
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
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 |