summaryrefslogtreecommitdiffstats
path: root/extra/consolekit/Pkgfile
blob: 964f3ff3476ae1b664aa4075446df0c8c52e2441 (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
# 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

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

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/
}