void-packages/srcpkgs/ConsoleKit/template

52 lines
1.6 KiB
Plaintext

# Template file for 'ConsoleKit'
pkgname=ConsoleKit
version=0.4.2
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-docbook-docs --enable-pam-module
--localstatedir=/var"
short_desc="Framework for defining and tracking users, login sessions and seats"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=656f406c9c436bd105c34d87e824cb2fbae09fa672b93894059281124480fe15
long_desc="
ConsoleKit is a framework for keeping track of the various users, sessions,
and seats present on a system. It provides a mechanism for software to react
to changes of any of these items or of any of the metadata associated with
them."
conf_files="
/etc/dbus-1/system.d/ConsoleKit.conf
/etc/logrotate.d/ConsoleKit"
keep_empty_dirs=yes
subpackages="$pkgname-devel $pkgname-x11"
Add_dependency run glibc
Add_dependency run dbus-libs
Add_dependency run dbus-glib
Add_dependency run glib
Add_dependency run pam
Add_dependency run polkit
Add_dependency run zlib
Add_dependency build pkg-config
Add_dependency build xmlto
Add_dependency build libX11-devel
Add_dependency build dbus-devel
Add_dependency build glib-devel
Add_dependency build pam-devel
Add_dependency build polkit-devel
Add_dependency build zlib-devel
post_install()
{
install -d ${DESTDIR}/usr/lib/ConsoleKit/run-session.d
install -m755 ${FILESDIR}/pam-foreground-compat.ck \
${DESTDIR}/usr/lib/ConsoleKit/run-session.d
install -d ${DESTDIR}/etc/ConsoleKit/run-seat.d
install -d ${DESTDIR}/etc/ConsoleKit/run-session.d
install -D -m644 ${FILESDIR}/ck.logrotate \
${DESTDIR}/etc/logrotate.d/ConsoleKit
}