# HG changeset patch # User John W. Eaton # Date 1404828052 14400 # Node ID 33489e913a5e1b1d77a6453b986e82e4be29a348 # Parent 154b7f3af5ebe2b3035254c731a44d9ce20170d0 include gawk as one of the build tools we build diff -r 154b7f3af5eb -r 33489e913a5e dist-files.mk --- 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 \ diff -r 154b7f3af5eb -r 33489e913a5e index.html --- 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 @@ flex + build-gawk + GAWK + + build-gcc GCC diff -r 154b7f3af5eb -r 33489e913a5e src/build-gawk.mk --- /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