diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-06-23 07:09:56 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2009-10-26 12:46:12 +0100 |
commit | 5fbf43e943a923ef295bb8f454b9bf0c147a60ab (patch) | |
tree | f65b6c715cde4cc4840367e965f8f4f769cec47e /rules/host-autotools-libtool.make | |
parent | 9ab2e3f3d48a6fad4a40bf68bbf283a27f2d4598 (diff) | |
download | ptxdist-5fbf43e943a923ef295bb8f454b9bf0c147a60ab.tar.gz ptxdist-5fbf43e943a923ef295bb8f454b9bf0c147a60ab.tar.xz |
[host-autotools-libtool] new packet
In order to get rid of the autogen patches, we need a set of autotools.
This patch adds libtool.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
[mkl: recreated .make file with recent templates]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-autotools-libtool.make')
-rw-r--r-- | rules/host-autotools-libtool.make | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/rules/host-autotools-libtool.make b/rules/host-autotools-libtool.make new file mode 100644 index 000000000..48c16be3d --- /dev/null +++ b/rules/host-autotools-libtool.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_LIBTOOL) += host-autotools-libtool + +# +# Paths and names +# +HOST_AUTOTOOLS_LIBTOOL_VERSION := 2.2.6 +HOST_AUTOTOOLS_LIBTOOL := libtool-$(HOST_AUTOTOOLS_LIBTOOL_VERSION) +HOST_AUTOTOOLS_LIBTOOL_SUFFIX := tar.gz +HOST_AUTOTOOLS_LIBTOOL_URL := $(PTXCONF_SETUP_GNUMIRROR)/libtool/$(HOST_AUTOTOOLS_LIBTOOL)a.$(HOST_AUTOTOOLS_LIBTOOL_SUFFIX) +HOST_AUTOTOOLS_LIBTOOL_SOURCE := $(SRCDIR)/$(HOST_AUTOTOOLS_LIBTOOL)a.$(HOST_AUTOTOOLS_LIBTOOL_SUFFIX) +HOST_AUTOTOOLS_LIBTOOL_DIR := $(HOST_BUILDDIR)/$(HOST_AUTOTOOLS_LIBTOOL) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(HOST_AUTOTOOLS_LIBTOOL_SOURCE): + @$(call targetinfo) + @$(call get, HOST_AUTOTOOLS_LIBTOOL) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_AUTOTOOLS_LIBTOOL_PATH := PATH=$(HOST_PATH) +HOST_AUTOTOOLS_LIBTOOL_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_AUTOTOOLS_LIBTOOL_AUTOCONF := $(HOST_AUTOCONF) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +host-autotools-libtool_clean: + rm -rf $(STATEDIR)/host-autotools-libtool.* + rm -rf $(HOST_AUTOTOOLS_LIBTOOL_DIR) + +# vim: syntax=make |