summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2008-06-09 20:52:26 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2008-06-09 20:52:26 +0000
commitac6968abd59480d6c7697c394460efd8d6493694 (patch)
treeb730ee39522b9732795043dd9d7f3aac377fb356
parent06f8eee563bbaf2303602bbb39c69fa476e1fc6a (diff)
downloadptxdist-ac6968abd59480d6c7697c394460efd8d6493694.tar.gz
ptxdist-ac6968abd59480d6c7697c394460efd8d6493694.tar.xz
* host-lrzsz: added
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8481 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--rules/host-lrzsz.in4
-rw-r--r--rules/host-lrzsz.make87
-rw-r--r--rules/hosttools.in1
3 files changed, 92 insertions, 0 deletions
diff --git a/rules/host-lrzsz.in b/rules/host-lrzsz.in
new file mode 100644
index 000000000..956be1e2f
--- /dev/null
+++ b/rules/host-lrzsz.in
@@ -0,0 +1,4 @@
+config HOST_LRZSZ
+ bool
+ default y
+
diff --git a/rules/host-lrzsz.make b/rules/host-lrzsz.make
new file mode 100644
index 000000000..66ab6cc9a
--- /dev/null
+++ b/rules/host-lrzsz.make
@@ -0,0 +1,87 @@
+# -*-makefile-*-
+# $Id$
+#
+# Copyright (C) 2008 by Robert Schwebel
+#
+# 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_LRZSZ) += host-lrzsz
+
+#
+# Paths and names
+#
+HOST_LRZSZ_DIR = $(HOST_BUILDDIR)/$(LRZSZ)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-lrzsz.get:
+ @$(call targetinfo, $@)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-lrzsz.extract:
+ @$(call targetinfo, $@)
+ @$(call clean, $(HOST_LRZSZ_DIR))
+ @$(call extract, LRZSZ, $(HOST_BUILDDIR))
+ @$(call patchin, LRZSZ, $(HOST_LRZSZ_DIR))
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_LRZSZ_PATH := PATH=$(HOST_PATH)
+HOST_LRZSZ_ENV := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_LRZSZ_AUTOCONF := $(HOST_AUTOCONF)
+
+$(STATEDIR)/host-lrzsz.prepare:
+ @$(call targetinfo, $@)
+ @$(call clean, $(HOST_LRZSZ_DIR)/config.cache)
+ cd $(HOST_LRZSZ_DIR) && \
+ $(HOST_LRZSZ_PATH) $(HOST_LRZSZ_ENV) \
+ ./configure $(HOST_LRZSZ_AUTOCONF)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-lrzsz.compile:
+ @$(call targetinfo, $@)
+ cd $(HOST_LRZSZ_DIR) && $(HOST_LRZSZ_PATH) $(MAKE) $(PARALLELMFLAGS)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-lrzsz.install:
+ @$(call targetinfo, $@)
+ @$(call install, HOST_LRZSZ,,h)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-lrzsz_clean:
+ rm -rf $(STATEDIR)/host-lrzsz.*
+ rm -rf $(HOST_LRZSZ_DIR)
+
+# vim: syntax=make
diff --git a/rules/hosttools.in b/rules/hosttools.in
index 756758f61..9094ddaf2 100644
--- a/rules/hosttools.in
+++ b/rules/hosttools.in
@@ -14,6 +14,7 @@ source "rules/host-intltool.in"
# automatically selected host tools
+source "rules/host-lrzsz.in"
source "rules/host-ckermit.in"
source "rules/host-dbus-glib.in"
source "rules/host-libbz2.in"