summaryrefslogtreecommitdiffstats
path: root/extra/dbus/Pkgfile
blob: 19109acf262b092435db48647a7c03aeb94da256 (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
# 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: expat

name=dbus
version=1.2.24
release=1
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 \
		--localstatedir=/var \
		--sysconfdir=/etc
	make
	make DESTDIR=$PKG install
        mkdir -p $PKG/etc/dbus-1
        mv ../session-local.conf $PKG/etc/dbus-1/
        cd ../$scripts-$scriptsversion
        make DESTDIR=$PKG install-dbus
        install -m755 ../dbus $PKG/etc/rc.d/init.d/
}