Mercurial > mxe-octave
changeset 3201:ce8bf9230005
build-m4: new package
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 05 Aug 2013 22:19:46 -0400 |
parents | c150cf9384b2 |
children | 18158a101dc5 |
files | dist-files.mk index.html src/build-autoconf.mk src/build-m4.mk |
diffstat | 4 files changed, 30 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 \
--- 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 @@ <td id="build-libtool-website"><a href="http://www.gnu.org/software/libtool">libtool</a></td> </tr> <tr> + <td id="build-m4-package">m4</td> + <td id="build-m4-version">1.4.16</td> + <td id="build-m4-website"><a href="http://www.gnu.org/software/m4">m4</a></td> + </tr> + <tr> <td id="build-msvctools-package">msvctools</td> <td id="build-msvctools-version"></td> <td id="build-msvctools-website"></td>
--- 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;
--- /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