2009-03-22 03:33:42 +00:00
|
|
|
# Template file for 'ConsoleKit'
|
|
|
|
pkgname=ConsoleKit
|
2011-05-04 13:09:45 +00:00
|
|
|
version=0.4.5
|
2011-11-12 08:45:15 +00:00
|
|
|
revision=6
|
2009-11-07 05:14:54 +00:00
|
|
|
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2009-11-30 05:09:17 +00:00
|
|
|
configure_args="--enable-docbook-docs --enable-pam-module
|
2011-10-16 17:46:38 +00:00
|
|
|
--with-systemdsystemunitdir=/lib/systemd/system"
|
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>"
|
2011-06-29 13:32:52 +00:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/ConsoleKit"
|
|
|
|
license="GPL-2"
|
2011-05-04 13:09:45 +00:00
|
|
|
checksum=43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b223686b9c38
|
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."
|
|
|
|
|
2011-11-10 12:04:12 +00:00
|
|
|
systemd_services="console-kit-daemon.service on"
|
2010-12-04 09:04:50 +00:00
|
|
|
conf_files="/etc/logrotate.d/ConsoleKit"
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel $pkgname-x11"
|
2011-11-09 18:50:39 +00:00
|
|
|
make_dirs="/var/log/${pkgname} 0755 root root"
|
2010-01-08 17:46:47 +00:00
|
|
|
|
2010-10-26 11:34:05 +00:00
|
|
|
|
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
|
2011-07-03 09:22:55 +00:00
|
|
|
Add_dependency build dbus-glib-devel
|
2010-01-08 17:46:47 +00:00
|
|
|
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()
|
|
|
|
{
|
2011-11-09 15:59:19 +00:00
|
|
|
vinstall ${FILESDIR}/pam-foreground-compat.ck 755 \
|
|
|
|
usr/lib/${pkgname}/run-session.d
|
|
|
|
for f in seat session; do
|
|
|
|
vmkdir etc/${pkgname}/run-${f}.d
|
|
|
|
touch ${DESTDIR}/etc/${pkgname}/run-${f}.d/.owned
|
|
|
|
done
|
|
|
|
vmkdir usr/lib/${pkgname}/run-seat.d
|
|
|
|
touch ${DESTDIR}/usr/lib/${pkgname}/run-seat.d/.owned
|
|
|
|
vinstall ${FILESDIR}/ck.logrotate 644 etc/logrotate.d ConsoleKit
|
2009-11-30 05:09:17 +00:00
|
|
|
}
|