To be used with glib-2.25.x.

Signed-off-by: Robert Schwebel <r.schwe...@pengutronix.de>
---
 rules/dconf.in   |    8 ++++++
 rules/dconf.make |   73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+), 0 deletions(-)
 create mode 100644 rules/dconf.in
 create mode 100644 rules/dconf.make

diff --git a/rules/dconf.in b/rules/dconf.in
new file mode 100644
index 0000000..42a41ab
--- /dev/null
+++ b/rules/dconf.in
@@ -0,0 +1,8 @@
+## SECTION=system_libraries
+
+config DCONF
+       tristate
+       select GLIB
+       prompt "dconf"
+       help
+         FIXME
diff --git a/rules/dconf.make b/rules/dconf.make
new file mode 100644
index 0000000..602d3c9
--- /dev/null
+++ b/rules/dconf.make
@@ -0,0 +1,73 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2010 by Robert Schwebel <r.schwe...@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
+#
+PACKAGES-$(PTXCONF_DCONF) += dconf
+
+#
+# Paths and names
+#
+DCONF_VERSION  := 0.3.1
+DCONF          := dconf-$(DCONF_VERSION)
+DCONF_SUFFIX   := tar.bz2
+DCONF_URL      := 
http://download.gnome.org/sources/dconf/0.3/$(DCONF).$(DCONF_SUFFIX)
+DCONF_SOURCE   := $(SRCDIR)/$(DCONF).$(DCONF_SUFFIX)
+DCONF_DIR      := $(BUILDDIR)/$(DCONF)
+DCONF_LICENSE  := LGPLv2.1
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(DCONF_SOURCE):
+       @$(call targetinfo)
+       @$(call get, DCONF)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+DCONF_CONF_TOOL        := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/dconf.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init,  dconf)
+       @$(call install_fixup, dconf,PACKAGE,dconf)
+       @$(call install_fixup, dconf,PRIORITY,optional)
+       @$(call install_fixup, dconf,VERSION,$(DCONF_VERSION))
+       @$(call install_fixup, dconf,SECTION,base)
+       @$(call install_fixup, dconf,AUTHOR,"Robert Schwebel 
<r.schwe...@pengutronix.de>")
+       @$(call install_fixup, dconf,DEPENDS,)
+       @$(call install_fixup, dconf,DESCRIPTION,missing)
+
+       @$(call install_copy, dconf, 0, 0, 0644, -, 
/usr/lib/gio/modules/libdconfsettings.so)
+       @$(call install_lib,  dconf, 0, 0, 0644, libdconf)
+
+       @$(call install_copy, dconf, 0, 0, 0755, -, /usr/libexec/dconf-service)
+       @$(call install_copy, dconf, 0, 0, 0755, -, /usr/bin/dconf)
+
+       @$(call install_copy, dconf, 0, 0, 0644, -, 
/usr/share/dbus-1/services/ca.desrt.dconf.service)
+       @$(call install_copy, dconf, 0, 0, 0644, -, 
/usr/share/dbus-1/system-services/ca.desrt.dconf.service)
+
+       @$(call install_finish, dconf)
+
+       @$(call touch)
+
+# vim: syntax=make
-- 
1.7.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to