summaryrefslogtreecommitdiffstats
path: root/rules/host-eggdbus.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-12-12 22:26:20 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-12-12 22:30:22 +0100
commit12fa826a7ffaa408d31e89c3e686e1c363f4b3bd (patch)
treed740457683a4bd310e221ff0883056338ea4668a /rules/host-eggdbus.make
parent50c0e9376a564040fd3e8c7b949741fb90ce65cc (diff)
downloadptxdist-12fa826a7ffaa408d31e89c3e686e1c363f4b3bd.tar.gz
ptxdist-12fa826a7ffaa408d31e89c3e686e1c363f4b3bd.tar.xz
[eggdbus] added packet
Added eggdbus, which is a prerequisite for updating policy kit. While being there, fixed cross compiling issues. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules/host-eggdbus.make')
-rw-r--r--rules/host-eggdbus.make86
1 files changed, 86 insertions, 0 deletions
diff --git a/rules/host-eggdbus.make b/rules/host-eggdbus.make
new file mode 100644
index 000000000..c4adccae0
--- /dev/null
+++ b/rules/host-eggdbus.make
@@ -0,0 +1,86 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2009 by Robert Schwebel <r.schwebel@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_EGGDBUS) += host-eggdbus
+
+#
+# Paths and names
+#
+HOST_EGGDBUS_DIR = $(HOST_BUILDDIR)/$(EGGDBUS)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-eggdbus.get: $(STATEDIR)/eggdbus.get
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-eggdbus.extract:
+ @$(call targetinfo)
+ @$(call clean, $(HOST_EGGDBUS_DIR))
+ @$(call extract, EGGDBUS, $(HOST_BUILDDIR))
+ @$(call patchin, EGGDBUS, $(HOST_EGGDBUS_DIR))
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_EGGDBUS_PATH := PATH=$(HOST_PATH)
+HOST_EGGDBUS_ENV := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_EGGDBUS_AUTOCONF := $(HOST_AUTOCONF)
+
+#$(STATEDIR)/host-eggdbus.prepare:
+# @$(call targetinfo)
+# @$(call clean, $(HOST_EGGDBUS_DIR)/config.cache)
+# cd $(HOST_EGGDBUS_DIR) && \
+# $(HOST_EGGDBUS_PATH) $(HOST_EGGDBUS_ENV) \
+# ./configure $(HOST_EGGDBUS_AUTOCONF)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-eggdbus.compile:
+# @$(call targetinfo)
+# cd $(HOST_EGGDBUS_DIR) && $(HOST_EGGDBUS_PATH) $(MAKE) $(PARALLELMFLAGS)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-eggdbus.install:
+# @$(call targetinfo)
+# @$(call install, HOST_EGGDBUS)
+# @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-eggdbus_clean:
+ rm -rf $(STATEDIR)/host-eggdbus.*
+ rm -rf $(HOST_EGGDBUS_DIR)
+
+# vim: syntax=make