vp-build/srcpkgs/ConsoleKit/template
Juan RP 6c93db9614 ConsoleKit: GRR! s/skip/keep/
--HG--
extra : convert_revision : 2b0d53d6bb6ed415c2a815f3ca68f5950d045483
2010-01-08 18:50:49 +01:00

49 lines
1.6 KiB
Plaintext

# Template file for 'ConsoleKit'
pkgname=ConsoleKit
version=0.4.1
revision=1
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-docbook-docs --enable-pam-module
--libexecdir=/usr/lib/ConsoleKit --localstatedir=/var"
short_desc="Framework for defining and tracking users, login sessions and seats"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f032adc6146d745034315054c5822a7a09f30e20a40d6e802221fa977354403e
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/ConsoleKit/seats.d/00-primary.seat"
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
}