summaryrefslogtreecommitdiffstats
path: root/extra/consolekit/Pkgfile
blob: 4a0ae0499e044a7334b00b5a2ee8b06e7f71c527 (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

name=consolekit
version=0.4.4
release=4
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
}