2009-03-22 04:33:42 +01:00
|
|
|
# Template file for 'ConsoleKit'
|
|
|
|
pkgname=ConsoleKit
|
2011-05-04 15:09:45 +02:00
|
|
|
version=0.4.5
|
2011-10-11 04:50:35 +02:00
|
|
|
revision=2
|
2009-11-07 06:14:54 +01:00
|
|
|
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-11-30 06:09:17 +01:00
|
|
|
configure_args="--enable-docbook-docs --enable-pam-module
|
2011-10-16 19:46:38 +02:00
|
|
|
--with-systemdsystemunitdir=/lib/systemd/system"
|
2009-03-22 04:33:42 +01:00
|
|
|
short_desc="Framework for defining and tracking users, login sessions and seats"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-29 15:32:52 +02:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/ConsoleKit"
|
|
|
|
license="GPL-2"
|
2011-05-04 15:09:45 +02:00
|
|
|
checksum=43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b223686b9c38
|
2009-03-22 04:33:42 +01: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 06:09:17 +01:00
|
|
|
to changes of any of these items or of any of the metadata associated with
|
2009-03-22 04:33:42 +01:00
|
|
|
them."
|
|
|
|
|
2011-10-11 04:50:35 +02:00
|
|
|
systemd_services="console-kit-daemon.service"
|
2010-12-04 10:04:50 +01:00
|
|
|
conf_files="/etc/logrotate.d/ConsoleKit"
|
2010-01-08 18:50:49 +01:00
|
|
|
keep_empty_dirs=yes
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel $pkgname-x11"
|
2010-01-08 18:46:47 +01: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
|
2010-10-26 13:34:05 +02:00
|
|
|
|
2009-03-22 04:33:42 +01:00
|
|
|
Add_dependency build pkg-config
|
2009-11-30 06:09:17 +01:00
|
|
|
Add_dependency build xmlto
|
2010-01-08 18:46:47 +01:00
|
|
|
Add_dependency build libX11-devel
|
|
|
|
Add_dependency build dbus-devel
|
|
|
|
Add_dependency build glib-devel
|
2011-07-03 11:22:55 +02:00
|
|
|
Add_dependency build dbus-glib-devel
|
2010-01-08 18:46:47 +01:00
|
|
|
Add_dependency build pam-devel
|
|
|
|
Add_dependency build polkit-devel
|
|
|
|
Add_dependency build zlib-devel
|
2009-11-30 06:09:17 +01: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
|
2010-10-26 13:34:05 +02:00
|
|
|
|
|
|
|
install -D -m644 ${FILESDIR}/ck.logrotate \
|
|
|
|
${DESTDIR}/etc/logrotate.d/ConsoleKit
|
2011-05-04 13:56:40 +02:00
|
|
|
rm -rf ${DESTDIR}/var/run
|
2009-11-30 06:09:17 +01:00
|
|
|
}
|