blob: 561009b020a2861f10320fd7b1128d24018f27bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Description: Système de messages pour les bus
# URL: http://dbus.freedesktop.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Run on: expat,xorg-libsm,xorg-libice,xorg-libx11,xorg-libxcb,xorg-libxau,xorg-libxdmcp
name=dbus
version=1.4.8
release=2
source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz \
session-local.conf\
dbus)
build() {
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
cd $name-$version
./configure --prefix=/usr \
--libexecdir=/usr/lib/dbus-1.0 \
--localstatedir=/var \
--sysconfdir=/etc \
--enable-shared \
--with-xml=expat \
--with-system-pid-file=/var/run/dbus.pid \
--with-system-socket=/var/run/dbus/system_bus_socket \
--with-session-socket-dir=/tmp \
--with-dbus-user=messagebus
make
make DESTDIR=$PKG install
mkdir -p $PKG/etc/dbus-1
mv ../session-local.conf $PKG/etc/dbus-1/
rmdir $PKG/usr/lib/dbus-1.0/dbus-1
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-dbus
install -m755 ../dbus $PKG/etc/rc.d/init.d/
mv $PKG/etc/rc.d/rc0.d/K{30,85}dbus
mv $PKG/etc/rc.d/rc6.d/K{30,85}dbus
mv $PKG/etc/rc.d/rc1.d/K{30,85}dbus
mkdir -p $PKG/usr/lib/dbus-1.0/services
mkdir -p $PKG/usr/share/dbus-1/services
mkdir -p $PKG/etc/dbus-1/system.d/
mkdir -p $PKG/etc/dbus-1/session.d/
}
|