summaryrefslogtreecommitdiffstats
path: root/src/automake.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-08-24 11:02:24 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-08-24 11:02:24 (GMT)
commitbfe15253afcd260a2c9f454ffcd7eae28717d1c1 (patch)
tree14a19b74573f6831ec38475fc5b05cd53f027a1d /src/automake.mk
parent58e147a30e5a482e71463401683e7bda924b3a69 (diff)
downloadmxe-bfe15253afcd260a2c9f454ffcd7eae28717d1c1.zip
mxe-bfe15253afcd260a2c9f454ffcd7eae28717d1c1.tar.gz
mxe-bfe15253afcd260a2c9f454ffcd7eae28717d1c1.tar.bz2
add optional native autotools bison cmake flex libtool packages
Diffstat (limited to 'src/automake.mk')
-rw-r--r--src/automake.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/automake.mk b/src/automake.mk
new file mode 100644
index 0000000..5b72e18
--- /dev/null
+++ b/src/automake.mk
@@ -0,0 +1,27 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := automake
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 1.13.2
+$(PKG)_CHECKSUM := 72ee9fcd180c54fd7c067155d85fa071a99c3ea3
+$(PKG)_SUBDIR := automake-$($(PKG)_VERSION)
+$(PKG)_FILE := automake-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/automake/$($(PKG)_FILE)
+$(PKG)_DEPS :=
+
+# depends on autoconf, but we can assume it's available
+# for this temporary case of 1.14 issues.
+
+define $(PKG)_UPDATE
+ echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
+ echo $($(PKG)_VERSION)
+endef
+
+define $(PKG)_BUILD_NATIVE
+ mkdir '$(1).build'
+ cd '$(1).build' && '$(1)/configure' \
+ --prefix='$(PREFIX)'
+ $(MAKE) -C '$(1).build' -j '$(JOBS)'
+ $(MAKE) -C '$(1).build' -j 1 install
+endef