2 # Copyright (C) 2009-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 # Make sure to also update the dbus package
15 PKG_BUILD_DIR:=$(BUILD_DIR)/dbus-x/dbus-$(PKG_VERSION)
16 PKG_SOURCE:=dbus-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://dbus.freedesktop.org/releases/dbus/
18 PKG_MD5SUM:=39bd582c3b06a261cac44d4cab6fd60b
23 include $(INCLUDE_DIR)/package.mk
26 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
29 define Package/dbus/Default/description
30 D-Bus is a message bus system, a simple way for applications to talk to one
31 another. In addition to interprocess communication, D-Bus helps coordinate
32 process lifecycle; it makes it simple and reliable to code a "single instance"
33 application or daemon, and to launch applications and daemons on demand when
34 their services are needed.
37 define Package/dbus-launch-x
40 TITLE:=dbus launch utility with x support
41 DEPENDS:=+libexpat +dbus +libX11
42 URL:=http://dbus.freedesktop.org/
45 define Package/dbus-launch-x/Description
46 $(call Package/dbus/Default/description)
47 This package contains the dbus-launch utility with compiled in x support.
53 --disable-abstract-sockets \
56 --disable-console-owner-file \
57 --disable-doxygen-docs \
61 --disable-verbose-mode \
64 --with-dbus-user=root \
65 --with-dbus-daemondir="/usr/sbin" \
66 --with-system-socket="/var/run/dbus/system_bus_socket" \
67 --with-system-pid-file="/var/run/dbus.pid" \
69 --libexecdir=/usr/lib/dbus-1
72 ac_cv_have_abstract_sockets="yes" \
74 define Package/dbus-launch-x/install
75 $(INSTALL_DIR) $(1)/usr/bin
77 $(PKG_INSTALL_DIR)/usr/bin/dbus-launch \
78 $(1)/usr/bin/dbus-launch-x
81 $(eval $(call BuildPackage,dbus-launch-x))