summaryrefslogtreecommitdiffstats
path: root/dbus/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-04-03 20:45:56 +0200
committertnut <tnut at nutyx dot com>2012-04-03 20:45:56 +0200
commitf0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8 (patch)
tree5ef43049d1a9d89d6824ab0b1caa195e6bc2d32c /dbus/Pkgfile
parent2c891bec631c57f3103e691306cab38e9116bcbf (diff)
downloadnutyx-pakxe-f0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8.tar.gz
nutyx-pakxe-f0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8.tar.bz2
nutyx-pakxe-f0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8.tar.xz
nutyx-pakxe-f0636ecbaad92e03e7db5aa5034ef4d6d06e4cc8.zip
dbus est un service
Diffstat (limited to 'dbus/Pkgfile')
-rwxr-xr-xdbus/Pkgfile51
1 files changed, 51 insertions, 0 deletions
diff --git a/dbus/Pkgfile b/dbus/Pkgfile
new file mode 100755
index 000000000..971de7201
--- /dev/null
+++ b/dbus/Pkgfile
@@ -0,0 +1,51 @@
+# Description: Système de messages pour les bus
+# URL: http://dbus.freedesktop.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: xorg-libx11
+
+name=dbus
+version=1.5.8
+release=2
+source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz \
+ session-local.conf \
+ http://nutyx.meticul.eu/files/patchs/$name/dbus-1.4.8-tmpfs-1.patch)
+
+build() {
+ source /etc/blfs-bootscripts
+ wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2
+# wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+
+ cd $name-$version
+ ./configure --prefix=/usr --with-x \
+ --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
+ patch -Np1 -i ../dbus-1.4.8-tmpfs-1.patch
+ make DESTDIR=$PKG install-dbus
+ 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
+ sed -i "s/dbus\/pid/dbus.pid/" $PKG/etc/rc.d/init.d/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/
+ rm -r $PKG/usr/share/doc
+}