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.
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
21 include $(INCLUDE_DIR
)/package.mk
24 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
27 define Package
/dbus
/Default
/description
28 D-Bus is a message bus system
, a simple way for applications to talk to one
29 another. In addition to interprocess communication
, D-Bus helps coordinate
30 process lifecycle
; it makes it simple and reliable to code a
"single instance"
31 application or daemon
, and to launch applications and daemons on demand when
32 their services are needed.
35 define Package
/dbus-launch-x
38 TITLE
:=dbus launch utility with x support
39 DEPENDS
:=+libexpat
+dbus
+libX11
40 URL
:=http
://dbus.freedesktop.org
/
43 define Package
/dbus-launch-x
/Description
44 $(call Package
/dbus
/Default
/description
)
45 This package contains the dbus-launch utility with compiled in x support.
51 --disable-abstract-sockets \
54 --disable-console-owner-file \
55 --disable-doxygen-docs \
59 --disable-verbose-mode \
62 --with-dbus-user
=root \
63 --with-dbus-daemondir
="/usr/sbin" \
64 --with-system-socket
="/var/run/dbus/system_bus_socket" \
65 --with-system-pid-file
="/var/run/dbus.pid" \
67 --libexecdir
=/usr
/lib
/dbus-1
70 ac_cv_have_abstract_sockets
="yes" \
71 $(if
$(CONFIG_LINUX_2_4
),ac_cv_header_sys_inotify_h
=no
)
73 define Package
/dbus-launch-x
/install
74 $(INSTALL_DIR
) $(1)/usr
/bin
76 $(PKG_INSTALL_DIR
)/usr
/bin
/dbus-launch \
77 $(1)/usr
/bin
/dbus-launch-x
80 $(eval
$(call BuildPackage
,dbus-launch-x
))