blob: d76b8dc3ffde982dfb797544844536201cdf5c02 (
plain)
1 # Description: Framework for defining and tracking users, login sessions, and seats
2 # URL: http://www.freedesktop.org/wiki/Software/ConsoleKit
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: dbus gobject-introspection linux-pam util-linux xorg-libx11
5 # Optional: polkit
6
7 name=consolekit
8 version=1.2.4
9 release=1
10 source=(https://github.com/ConsoleKit2/ConsoleKit2/archive/$version/ConsoleKit2-$version.tar.gz
11 system-session pam-foreground-compat.ck)
12
13 build() {
14 cd ConsoleKit2-$version
15
16 NOCONFIGURE=1 ./autogen.sh
17 ./configure \
18 --prefix=/usr \
19 --sysconfdir=/etc \
20 --localstatedir=/var \
21 --libexecdir=/usr/lib/ConsoleKit \
22 --with-xinitrc-dir=/etc/X11/xinit/xinitrc.d \
23 --enable-udev-acl \
24 --enable-pam-module \
25 --disable-nls
26
27 make
28 make DESTDIR=$PKG install
29
30 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/consolekit.html
31 install -D -m 0644 $SRC/system-session $PKG/etc/pam.d/system-session
32 install -m 0755 $SRC/pam-foreground-compat.ck $PKG/etc/ConsoleKit/run-session.d/
33 mv $PKG/etc/X11/xinit/xinitrc.d/90-consolekit{,.sh}
34
35 rm -r $PKG/etc/logrotate.d
36 }
|