2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
11 # Make sure to also update the dbus package
16 PKG_BUILD_DIR:=$(BUILD_DIR)/dbus-x/dbus-$(PKG_VERSION)
17 PKG_SOURCE:=dbus-$(PKG_VERSION).tar.gz
18 PKG_SOURCE_URL:=http://dbus.freedesktop.org/releases/dbus/
19 PKG_MD5SUM:=39bd582c3b06a261cac44d4cab6fd60b
22 include $(INCLUDE_DIR)/package.mk
25 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
28 define Package/dbus/Default/description
29 D-Bus is a message bus system, a simple way for applications to talk to one
30 another. In addition to interprocess communication, D-Bus helps coordinate
31 process lifecycle; it makes it simple and reliable to code a "single instance"
32 application or daemon, and to launch applications and daemons on demand when
33 their services are needed.
36 define Package/dbus-launch-x
39 TITLE:=dbus launch utility with x support
40 DEPENDS:=+libexpat +dbus +libX11
41 URL:=http://dbus.freedesktop.org/
44 define Package/dbus-launch-x/Description
45 $(call Package/dbus/Default/description)
46 This package contains the dbus-launch utility with compiled in x support.
52 --disable-abstract-sockets \
55 --disable-console-owner-file \
56 --disable-doxygen-docs \
60 --disable-verbose-mode \
63 --with-dbus-user=root \
64 --with-dbus-daemondir="/usr/sbin" \
65 --with-system-socket="/var/run/dbus/system_bus_socket" \
66 --with-system-pid-file="/var/run/dbus.pid" \
68 --libexecdir=/usr/lib/dbus-1
71 ac_cv_have_abstract_sockets="yes" \
72 $(if $(CONFIG_LINUX_2_4),ac_cv_header_sys_inotify_h=no)
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))