summaryrefslogtreecommitdiffstats
path: root/rules/host-autotools-automake.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-10-23 12:58:04 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2009-10-26 12:45:43 +0100
commit9ab2e3f3d48a6fad4a40bf68bbf283a27f2d4598 (patch)
tree4568d0b5279aaebbae728998a708ae22bbd71d8d /rules/host-autotools-automake.make
parent4e148b52d8561658484582c8b68a71fde88ff744 (diff)
downloadptxdist-9ab2e3f3d48a6fad4a40bf68bbf283a27f2d4598.tar.gz
ptxdist-9ab2e3f3d48a6fad4a40bf68bbf283a27f2d4598.tar.xz
[host-autotools-automake] new packet
In order to get rid of the autogen patches, we need a set of autotools. This patch adds automake. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> [mol: automake depends on autoconf] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> [mkl: recreated .make file with current template] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-autotools-automake.make')
-rw-r--r--rules/host-autotools-automake.make54
1 files changed, 54 insertions, 0 deletions
diff --git a/rules/host-autotools-automake.make b/rules/host-autotools-automake.make
new file mode 100644
index 000000000..32b4185ad
--- /dev/null
+++ b/rules/host-autotools-automake.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_AUTOTOOLS_AUTOMAKE) += host-autotools-automake
+
+#
+# Paths and names
+#
+HOST_AUTOTOOLS_AUTOMAKE_VERSION := 1.11
+HOST_AUTOTOOLS_AUTOMAKE := automake-$(HOST_AUTOTOOLS_AUTOMAKE_VERSION)
+HOST_AUTOTOOLS_AUTOMAKE_SUFFIX := tar.bz2
+HOST_AUTOTOOLS_AUTOMAKE_URL := $(PTXCONF_SETUP_GNUMIRROR)/automake/$(HOST_AUTOTOOLS_AUTOMAKE).$(HOST_AUTOTOOLS_AUTOMAKE_SUFFIX)
+HOST_AUTOTOOLS_AUTOMAKE_SOURCE := $(SRCDIR)/$(HOST_AUTOTOOLS_AUTOMAKE).$(HOST_AUTOTOOLS_AUTOMAKE_SUFFIX)
+HOST_AUTOTOOLS_AUTOMAKE_DIR := $(HOST_BUILDDIR)/$(HOST_AUTOTOOLS_AUTOMAKE)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(HOST_AUTOTOOLS_AUTOMAKE_SOURCE):
+ @$(call targetinfo)
+ @$(call get, HOST_AUTOTOOLS_AUTOMAKE)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_AUTOTOOLS_AUTOMAKE_PATH := PATH=$(HOST_PATH)
+HOST_AUTOTOOLS_AUTOMAKE_ENV := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_AUTOTOOLS_AUTOMAKE_AUTOCONF := $(HOST_AUTOCONF)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-autotools-automake_clean:
+ rm -rf $(STATEDIR)/host-autotools-automake.*
+ rm -rf $(HOST_AUTOTOOLS_AUTOMAKE_DIR)
+
+# vim: syntax=make