-#
-# Copyright (C) 2007 OpenWrt.org
+#
+# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=dbus
-PKG_VERSION:=1.0.2
+PKG_VERSION:=1.0.3
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://dbus.freedesktop.org/releases/dbus/
-PKG_MD5SUM:=0552a9b54beb4a044951b7cdbc8fc855
+PKG_MD5SUM:=2e0185e1f8b4c61c9248049c680d2ab6
include $(INCLUDE_DIR)/package.mk
endef
define Package/dbus/Default/description
- D-Bus is a message bus system, a simple way for applications to talk to one
- another. In addition to interprocess communication, D-Bus helps coordinate
- process lifecycle; it makes it simple and reliable to code a "single instance"
- application or daemon, and to launch applications and daemons on demand when
+ D-Bus is a message bus system, a simple way for applications to talk to one
+ another. In addition to interprocess communication, D-Bus helps coordinate
+ process lifecycle; it makes it simple and reliable to code a "single instance"
+ application or daemon, and to launch applications and daemons on demand when
their services are needed.
endef
--disable-tests \
--disable-verbose-mode \
--disable-xml-docs \
- --without-x \
--with-xml="expat" \
+ --with-dbus-user=root \
--with-dbus-daemondir="/usr/sbin" \
--with-system-socket="/var/run/dbus/system_bus_socket" \
--with-system-pid-file="/var/run/dbus.pid" \
+# --without-x \
CONFIGURE_VARS+= \
ac_cv_have_abstract_sockets="yes" \
endef
define Build/InstallDev
- mkdir -p $(STAGING_DIR)/usr/include
+ mkdir -p $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/dbus-1.0 \
- $(STAGING_DIR)/usr/include/
- mkdir -p $(STAGING_DIR)/usr/lib
+ $(1)/usr/include/
+ mkdir -p $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libdbus-1.{a,so*} \
- $(STAGING_DIR)/usr/lib/
+ $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/dbus-1.0 \
- $(STAGING_DIR)/usr/lib/
- mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
+ $(1)/usr/lib/
+ mkdir -p $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/dbus-1.pc \
- $(STAGING_DIR)/usr/lib/pkgconfig/
-endef
-
-define Build/UninstallDev
- rm -rf $(STAGING_DIR)/usr/include/dbus-1.0 \
- $(STAGING_DIR)/usr/lib/libdbus-1.{a,so*} \
- $(STAGING_DIR)/usr/lib/dbus-1.0 \
- $(STAGING_DIR)/usr/lib/pkgconfig/dbus-1.pc
+ $(1)/usr/lib/pkgconfig/
endef
-
define Package/dbus/conffiles
/etc/dbus-1/session.conf
/etc/dbus-1/system.conf
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libdbus-1.so.* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/dbus-daemon $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dbus-daemon $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/init.d
- $(INSTALL_BIN) ./files/dbus.init $(1)/etc/init.d/
+ $(INSTALL_BIN) ./files/dbus.init $(1)/etc/init.d/dbus
endef
define Package/dbus-utils/install
$(INSTALL_DIR) $(1)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/dbus-* $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dbus-* $(1)/usr/bin/
endef