annotate src/build-gawk.mk @ 3650:33489e913a5e

include gawk as one of the build tools we build
author John W. Eaton <jwe@octave.org>
date Tue, 08 Jul 2014 10:00:52 -0400
parents
children 6a4cb2cb4493
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 :=
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 4.1.1
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 0480d23fffbf04bfd0d4ede4c1c3d57eb81cc771
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
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 echo $($(PKG)_VERSION)
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 endef
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 define $(PKG)_BUILD
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 mkdir '$(1).build'
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 cd '$(1).build' && '$(1)/configure' \
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 --prefix='$(BUILD_TOOLS_PREFIX)'
33489e913a5e include gawk as one of the build tools we build
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 $(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
23 $(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
24 endef