summaryrefslogtreecommitdiff
path: root/dbus/Pkgfile
blob: 99cbc8bcd8030a28fb5d94e3b2d6547222c78b67 (plain)
    1 # Description: A message bus system
    2 # URL: https://freedesktop.org/wiki/Software/dbus
    3 # Maintainer: CRUX System Team, core-ports at crux dot nu
    4 # Depends on: expat
    5 
    6 name=dbus
    7 version=1.12.20
    8 release=2
    9 source=(https://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz
   10 	rc.dbus 30-dbus.launch)
   11 
   12 build() {
   13 	cd $name-$version
   14 
   15 	./configure \
   16 		--prefix=/usr \
   17 		--with-dbus-daemondir=/usr/sbin \
   18 		--localstatedir=/var \
   19 		--sysconfdir=/etc \
   20 		--libexecdir=/usr/lib/dbus \
   21 		--with-dbus-user=messagebus \
   22 		--with-init-scripts=none \
   23 		--with-system-pid-file=/var/run/$name/$name.pid
   24 
   25 	make
   26 	make DESTDIR=$PKG install
   27 
   28 	install -D -m 0755 $SRC/rc.dbus $PKG/etc/rc.d/dbus
   29 	install -D -m 0755 $SRC/30-dbus.launch \
   30 		$PKG/etc/X11/xinit/xinitrc.d/30-dbus.launch.sh
   31 
   32 	rm -r $PKG/usr/share/doc
   33 	rm -rf $PKG/usr/lib/cmake
   34 	rm -rf $PKG/usr/share/xml
   35 }

Generated by cgit