summaryrefslogtreecommitdiffstats
path: root/rules/host-gperf.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-07-30 12:14:25 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-12-25 00:31:17 +0100
commitad252008f24d2ebce0e63240b980e8894159e4f1 (patch)
tree29203248f476e6ef4abab4d83da6e167ce453fdb /rules/host-gperf.make
parent77ad3136add67a773f50aa14ac13f437310ad641 (diff)
downloadptxdist-ad252008f24d2ebce0e63240b980e8894159e4f1.tar.gz
ptxdist-ad252008f24d2ebce0e63240b980e8894159e4f1.tar.xz
[host-gperf] added
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/host-gperf.make')
-rw-r--r--rules/host-gperf.make53
1 files changed, 53 insertions, 0 deletions
diff --git a/rules/host-gperf.make b/rules/host-gperf.make
new file mode 100644
index 000000000..27bf10ef4
--- /dev/null
+++ b/rules/host-gperf.make
@@ -0,0 +1,53 @@
+# -*-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_GPERF) += host-gperf
+
+#
+# Paths and names
+#
+HOST_GPERF_VERSION := 3.0.4
+HOST_GPERF := gperf-$(HOST_GPERF_VERSION)
+HOST_GPERF_SUFFIX := tar.gz
+HOST_GPERF_URL := $(PTXCONF_SETUP_GNUMIRROR)/gperf/$(HOST_GPERF).$(HOST_GPERF_SUFFIX)
+HOST_GPERF_SOURCE := $(SRCDIR)/$(HOST_GPERF).$(HOST_GPERF_SUFFIX)
+HOST_GPERF_DIR := $(HOST_BUILDDIR)/$(HOST_GPERF)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(HOST_GPERF_SOURCE):
+ @$(call targetinfo)
+ @$(call get, HOST_GPERF)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_GPERF_ENV := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_GPERF_AUTOCONF := $(HOST_AUTOCONF)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-gperf_clean:
+ rm -rf $(STATEDIR)/host-gperf.*
+ rm -rf $(HOST_GPERF_DIR)
+
+# vim: syntax=make