Mercurial > mxe-octave
annotate src/build-gawk.mk @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | 814904f97e22 |
children | c7bd5d6a7f82 |
rev | line source |
---|---|
3650
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := build-gawk |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
5369
814904f97e22
* src/build-gawk.mk: update to v5.0.1
John Donoghue <john.donoghue@ieee.org>
parents:
5023
diff
changeset
|
6 $(PKG)_VERSION := 5.0.1 |
814904f97e22
* src/build-gawk.mk: update to v5.0.1
John Donoghue <john.donoghue@ieee.org>
parents:
5023
diff
changeset
|
7 $(PKG)_CHECKSUM := 4ad1a3e5d016b5484bcbcbf866d73967c4af1b5e |
3650
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := gawk-$($(PKG)_VERSION) |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := gawk-$($(PKG)_VERSION).tar.gz |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gawk/$($(PKG)_FILE) |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 $(PKG)_DEPS := |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
4545
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
3659
diff
changeset
|
14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/gawk/?C=M;O=D' | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
3659
diff
changeset
|
15 $(SED) -n 's,.*<a href="gawk-\([0-9\.]*\)\.tar.*,\1,p' | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
3659
diff
changeset
|
16 $(SORT) -V | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
3659
diff
changeset
|
17 tail -1 |
3650
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 endef |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 |
3659
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
20 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
21 define $(PKG)_BUILD |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
22 # copy from pc folder |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
23 cp '$(1)'/pc/*.* '$(1)' |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
24 cp '$(1)/pc/Makefile' '$(1)' |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
25 cp '$(1)/pc/Makefile.ext' '$(1)/extension/Makefile' |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
26 cp '$(1)/pc/Makefile.tst' '$(1)/test/Makefile' |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
27 $(MAKE) -C '$(1)' -j '$(JOBS)' mingw32 |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
28 $(MAKE) -C '$(1)/extension' -j '$(JOBS)' |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
29 $(MAKE) -C '$(1)' -j 1 install prefix=$(BUILD_TOOLS_PREFIX) |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
30 endef |
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
31 else |
3650
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 define $(PKG)_BUILD |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 mkdir '$(1).build' |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 cd '$(1).build' && '$(1)/configure' \ |
5023 | 35 --disable-shared \ |
3650
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 --prefix='$(BUILD_TOOLS_PREFIX)' |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 $(MAKE) -C '$(1).build' -j '$(JOBS)' |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 $(MAKE) -C '$(1).build' -j 1 install |
33489e913a5e
include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
39 endef |
3659
6a4cb2cb4493
build-gawk: update to build in native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3650
diff
changeset
|
40 endif |