void-packages/srcpkgs/dbus/template

55 lines
1.5 KiB
Bash
Raw Normal View History

# Template file for 'dbus'
pkgname=dbus
2015-07-22 10:07:37 +02:00
version=1.8.20
revision=1
build_style=gnu-configure
configure_args="--disable-selinux --enable-inotify --with-dbus-user=dbus
--enable-xml-docs --disable-static --disable-tests --enable-epoll --disable-asserts
--disable-systemd --with-system-socket=/run/dbus/system_bus_socket --disable-doxygen-docs
--with-system-pid-file=/run/dbus/pid --with-console-auth-dir=/run/console
--enable-abstract-sockets ac_cv_have_abstract_sockets=yes"
short_desc="Message bus system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-06-04 22:20:44 +02:00
license="GPL-2"
2012-07-09 18:34:25 +02:00
homepage="http://dbus.freedesktop.org/"
2014-09-16 20:00:46 +02:00
distfiles="${homepage}/releases/dbus/dbus-${version}.tar.gz"
2015-07-22 10:07:37 +02:00
checksum=5c4fbf4c64621c96e871da91d2b729a5b00536e116d3c4612a469d924b1b703a
2015-03-18 16:05:07 +01:00
build_pie=yes
2014-01-21 07:58:11 +01:00
hostmakedepends="pkg-config intltool gperf xmlto"
makedepends="expat-devel libX11-devel libcap-devel"
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
2014-07-30 10:45:53 +02:00
# Create dbus:22 system account.
system_accounts="dbus:22"
2015-07-22 10:07:37 +02:00
post_install() {
2014-10-13 13:43:12 +02:00
vsv dbus
}
dbus-devel_package() {
2014-01-21 07:58:11 +01:00
depends="expat-devel dbus-libs>=${version}_${revision}"
2013-06-13 16:27:55 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/dbus-*"
vmove usr/lib/pkgconfig
2013-09-13 12:41:07 +02:00
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}
dbus-libs_package() {
2013-06-13 16:27:55 +02:00
short_desc+=" - shared libraries"
pkg_install() {
2013-09-13 12:41:07 +02:00
vmove "usr/lib/*.so.*"
}
}
dbus-x11_package() {
replaces="dbus<1.4.16_2"
2013-06-13 16:27:55 +02:00
short_desc+=" - X11 support"
pkg_install() {
vmove usr/bin/dbus-launch
vmove usr/share/man/man1/dbus-launch.1
}
}