void-packages/srcpkgs/dbus/template

54 lines
1.5 KiB
Bash
Raw Normal View History

# Template file for 'dbus'
pkgname=dbus
2015-10-27 08:34:23 +01:00
version=1.10.2
2015-08-29 11:10:00 +02:00
revision=1
2015-07-22 10:07:37 +02:00
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
2015-10-27 08:34:23 +01:00
--enable-abstract-sockets --disable-user-session 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-10-27 08:34:23 +01:00
checksum=aef3f49595df09b0824433ee993cda748ede93693a719a831562ae1616b6bb9e
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() {
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
}
}