summaryrefslogtreecommitdiffstats
path: root/extra/consolekit/Pkgfile
blob: d9218dd4d9aa457572e1de9e99f677bce67b4934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Description: framework for defining and tracking users, login sessions, and seats
# URL: http://www.freedesktop.org/wiki/Software/ConsoleKit
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed do ch
# Depends on: dbus-glib, xorg-libx11, polkit, xmlto, docbook-xsl
# Run on: dbus-glib,xorg-libx11,policykit,polkit,xmlto, docbook-xsl

name=consolekit
version=0.4.5
release=2
source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$version.tar.bz2
	pam-foreground-compat.ck 
	consolekit.logrotate)

build() {
	cd ConsoleKit-$version

	./configure --prefix=/usr \
	    --sysconfdir=/etc \
	    --localstatedir=/var \
	    --libexecdir=/usr/lib/ConsoleKit \
	    --enable-pam-module \
      	    --enable-docbook-docs \
	    --with-dbus-services=$PKG/usr/share/dbus-1/services

	make
	make DESTDIR=$PKG install
	install -m755 $SRC/pam-foreground-compat.ck $PKG/usr/lib/ConsoleKit/run-session.d/
	install -D -m644 $SRC/consolekit.logrotate $PKG/etc/logrotate.d/consolekit
}