# HG changeset patch # User John W. Eaton # Date 1375755586 14400 # Node ID ce8bf9230005739e69b9203ffd4c6ab0ebcd37b8 # Parent c150cf9384b28c6596bbca1aa7e32d222880c470 build-m4: new package diff -r c150cf9384b2 -r ce8bf9230005 dist-files.mk --- a/dist-files.mk Mon Aug 05 22:15:50 2013 -0400 +++ b/dist-files.mk Mon Aug 05 22:19:46 2013 -0400 @@ -25,6 +25,7 @@ build-gcc.mk \ build-gperf.mk \ build-libtool.mk \ + build-m4.mk \ build-msvctools.mk \ build-pkg-config-1-fixes.patch \ build-pkg-config.mk \ diff -r c150cf9384b2 -r ce8bf9230005 index.html --- a/index.html Mon Aug 05 22:15:50 2013 -0400 +++ b/index.html Mon Aug 05 22:19:46 2013 -0400 @@ -1024,6 +1024,11 @@ libtool + m4 + 1.4.16 + m4 + + msvctools diff -r c150cf9384b2 -r ce8bf9230005 src/build-autoconf.mk --- a/src/build-autoconf.mk Mon Aug 05 22:15:50 2013 -0400 +++ b/src/build-autoconf.mk Mon Aug 05 22:19:46 2013 -0400 @@ -7,7 +7,7 @@ $(PKG)_SUBDIR := autoconf-$($(PKG)_VERSION) $(PKG)_FILE := autoconf-$($(PKG)_VERSION).tar.xz $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/autoconf/$($(PKG)_FILE) -$(PKG)_DEPS := build-xz +$(PKG)_DEPS := build-xz build-m4 define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; diff -r c150cf9384b2 -r ce8bf9230005 src/build-m4.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/build-m4.mk Mon Aug 05 22:19:46 2013 -0400 @@ -0,0 +1,23 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := build-m4 +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 44b3ed8931f65cdab02aee66ae1e49724d2551a4 +$(PKG)_SUBDIR := m4-$($(PKG)_VERSION) +$(PKG)_FILE := m4-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/m4/$($(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