diff src/build-autoconf.mk @ 2971:7145a94e4f4e

build autoconf, automake, libtool, and cmake instead of expecting them to exist
author John W. Eaton <jwe@octave.org>
date Tue, 05 Feb 2013 15:41:22 -0500
parents
children 100e618349f7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/build-autoconf.mk	Tue Feb 05 15:41:22 2013 -0500
@@ -0,0 +1,23 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := build-autoconf
+$(PKG)_IGNORE   :=
+$(PKG)_CHECKSUM := e891c3193029775e83e0534ac0ee0c4c711f6d23
+$(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     := 
+
+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='$(PREFIX)'
+    $(MAKE) -C '$(1).build' -j '$(JOBS)'
+    $(MAKE) -C '$(1).build' -j 1 install
+endef