Mercurial > mxe-octave
changeset 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 | 154b7f3af5eb |
children | 8d3f34484fda |
files | dist-files.mk index.html src/build-gawk.mk |
diffstat | 3 files changed, 29 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Tue Jul 08 09:59:47 2014 -0400 +++ b/dist-files.mk Tue Jul 08 10:00:52 2014 -0400 @@ -25,6 +25,7 @@ build-bison.mk \ build-cmake.mk \ build-flex.mk \ + build-gawk.mk \ build-gcc.mk \ build-gperf.mk \ build-libtool.mk \
--- a/index.html Tue Jul 08 09:59:47 2014 -0400 +++ b/index.html Tue Jul 08 10:00:52 2014 -0400 @@ -999,6 +999,10 @@ <td class="website"><a href="http://flex.sourceforge.net">flex</a></td> </tr> <tr> + <td class="package">build-gawk</td> + <td class="website"><a href="http://gcc.gnu.org/">GAWK</a></td> + </tr> + <tr> <td class="package">build-gcc</td> <td class="website"><a href="http://gcc.gnu.org/">GCC</a></td> </tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/build-gawk.mk Tue Jul 08 10:00:52 2014 -0400 @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := build-gawk +$(PKG)_IGNORE := +$(PKG)_VERSION := 4.1.1 +$(PKG)_CHECKSUM := 0480d23fffbf04bfd0d4ede4c1c3d57eb81cc771 +$(PKG)_SUBDIR := gawk-$($(PKG)_VERSION) +$(PKG)_FILE := gawk-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gawk/$($(PKG)_FILE) +$(PKG)_DEPS := + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(BUILD_TOOLS_PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef