diff options
-rw-r--r-- | rules/host-autotools-automake.in | 6 | ||||
-rw-r--r-- | rules/host-autotools-automake.make | 54 |
2 files changed, 60 insertions, 0 deletions
diff --git a/rules/host-autotools-automake.in b/rules/host-autotools-automake.in new file mode 100644 index 000000000..91b5e89bc --- /dev/null +++ b/rules/host-autotools-automake.in @@ -0,0 +1,6 @@ +## SECTION=hosttools_noprompt + +config HOST_AUTOTOOLS_AUTOMAKE + bool + default y + select HOST_AUTOTOOLS_AUTOCONF 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 |