Mercurial > mxe-octave
annotate src/msys-patch.mk @ 4506:f3d64fe692e6
octave-wrapper.in: Include GCC library directory in LD_LIBRARY_PATH.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Oct 2017 05:54:48 -0400 |
parents | ae4193aad5fe |
children |
rev | line source |
---|---|
3380 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := msys-patch | |
5 $(PKG)_IGNORE := | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3380
diff
changeset
|
6 $(PKG)_VERSION := 2.6.1-1 |
3380 | 7 $(PKG)_CHECKSUM := b4a82565f739f45dfa5ee3db8c59e9638833f89c |
8 $(PKG)_REMOTE_SUBDIR := patch/patch-$($(PKG)_VERSION) | |
9 $(PKG)_SUBDIR := | |
10 $(PKG)_FILE := patch-$($(PKG)_VERSION)-msys-1.0.13-bin.tar.lzma | |
11 $(PKG)_URL := $(MSYS_EXTENSION_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_EXTENSION_URL)/patch' | \ |
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
16 $(SED) -n 's,.*title="patch-\([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 |
3380 | 18 endef |
19 | |
20 define $(PKG)_BUILD | |
21 mkdir -p '$(MSYS_EXTENSION_DIR)' | |
22 cd '$(1)' && tar cf - . | ( cd '$(MSYS_EXTENSION_DIR)'; tar xpf - ) | |
23 mkdir -p '$(MSYS_INFO_DIR)' | |
24 cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list | |
25 endef |