2013-08-03 16:27:45 +02:00
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
2016-01-02 17:29:56 +01:00
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
2013-08-03 16:27:45 +02:00
#
2013-12-21 21:51:48 +01:00
# OpenELEC is free software: you can redistribute it and/or modify
2013-08-03 16:27:45 +02:00
# it under the terms of the GNU General Public License as published by
2013-12-21 21:51:48 +01:00
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
2013-08-03 16:27:45 +02:00
#
2013-12-21 21:51:48 +01:00
# OpenELEC is distributed in the hope that it will be useful,
2013-08-03 16:27:45 +02:00
# but WITHOUT ANY WARRANTY; without even the implied warranty of
2013-12-21 21:51:48 +01:00
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2013-08-03 16:27:45 +02:00
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
2013-12-21 21:51:48 +01:00
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
2013-08-03 16:27:45 +02:00
################################################################################
PKG_NAME = "dbus"
2016-06-14 01:13:33 -07:00
PKG_VERSION = "1.11.2"
2013-08-03 16:27:45 +02:00
PKG_REV = "1"
PKG_ARCH = "any"
PKG_LICENSE = "GPL"
2016-02-07 19:22:45 +01:00
PKG_SITE = "https://dbus.freedesktop.org"
PKG_URL = " https://dbus.freedesktop.org/releases/ $PKG_NAME / $PKG_NAME - $PKG_VERSION .tar.gz "
2014-01-30 14:31:09 +01:00
PKG_DEPENDS_TARGET = "toolchain expat systemd"
2013-08-03 16:27:45 +02:00
PKG_SECTION = "system"
PKG_SHORTDESC = "dbus: simple interprocess messaging system"
PKG_LONGDESC = "D-Bus is a message bus, used for sending messages between applications. This package contains the D-Bus daemon and related utilities and the dbus shared library."
PKG_IS_ADDON = "no"
2016-10-21 17:46:39 +02:00
PKG_AUTORECONF = "no"
2013-08-03 16:27:45 +02:00
PKG_CONFIGURE_OPTS_TARGET = " export ac_cv_have_abstract_sockets=yes \
2014-01-18 16:24:07 +02:00
--with-sysroot= $SYSROOT_PREFIX \
2013-08-03 16:27:45 +02:00
--libexecdir= /usr/lib/dbus \
2013-08-15 13:49:06 +02:00
--disable-verbose-mode \
--disable-asserts \
2013-08-03 16:27:45 +02:00
--enable-checks \
--disable-tests \
--disable-ansi \
--disable-xml-docs \
--disable-doxygen-docs \
--enable-abstract-sockets \
--disable-x11-autolaunch \
--disable-selinux \
--disable-libaudit \
2013-08-04 14:29:54 +02:00
--enable-systemd \
2013-08-03 16:27:45 +02:00
--enable-inotify \
2014-08-26 20:45:29 +03:00
--without-valgrind \
2013-08-03 16:27:45 +02:00
--without-x \
2014-02-26 19:57:21 +02:00
--with-dbus-user= dbus"
2013-08-03 16:27:45 +02:00
p o s t _ m a k e i n s t a l l _ t a r g e t ( ) {
rm -rf $INSTALL /etc/rc.d
rm -rf $INSTALL /usr/lib/dbus-1.0/include
}
p o s t _ i n s t a l l ( ) {
add_user dbus x 81 81 "System message bus" "/" "/bin/sh"
add_group dbus 81
add_group netdev 497
echo " chmod 4750 $INSTALL /usr/lib/dbus/dbus-daemon-launch-helper " >> $FAKEROOT_SCRIPT
echo " chown 0:81 $INSTALL /usr/lib/dbus/dbus-daemon-launch-helper " >> $FAKEROOT_SCRIPT
}