2009-03-22 03:33:42 +00:00
|
|
|
# Template file for 'ConsoleKit'
|
|
|
|
pkgname=ConsoleKit
|
2009-11-30 05:09:17 +00:00
|
|
|
version=0.4.1
|
2010-01-08 17:46:47 +00:00
|
|
|
revision=1
|
2009-11-07 05:14:54 +00:00
|
|
|
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
2009-03-22 03:33:42 +00:00
|
|
|
build_style=gnu_configure
|
2009-11-30 05:09:17 +00:00
|
|
|
configure_args="--enable-docbook-docs --enable-pam-module
|
|
|
|
--libexecdir=/usr/lib/ConsoleKit --localstatedir=/var"
|
2009-03-22 03:33:42 +00:00
|
|
|
short_desc="Framework for defining and tracking users, login sessions and seats"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-11-30 05:09:17 +00:00
|
|
|
checksum=f032adc6146d745034315054c5822a7a09f30e20a40d6e802221fa977354403e
|
2009-03-22 03:33:42 +00:00
|
|
|
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
|
2009-11-30 05:09:17 +00:00
|
|
|
to changes of any of these items or of any of the metadata associated with
|
2009-03-22 03:33:42 +00:00
|
|
|
them."
|
|
|
|
|
2010-01-08 17:46:47 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/dbus-1/system.d/ConsoleKit.conf
|
|
|
|
/etc/ConsoleKit/seats.d/00-primary.seat"
|
2009-03-22 03:33:42 +00:00
|
|
|
|
2010-01-08 17:46:47 +00:00
|
|
|
skip_empty_dirs=yes
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel $pkgname-x11"
|
2010-01-08 17:46:47 +00:00
|
|
|
|
|
|
|
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
|
2009-03-22 03:33:42 +00:00
|
|
|
Add_dependency build pkg-config
|
2009-11-30 05:09:17 +00:00
|
|
|
Add_dependency build xmlto
|
2010-01-08 17:46:47 +00:00
|
|
|
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
|
2009-11-30 05:09:17 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|