blob: 6bfb60b8ae107c429309b22b53c3b3bd1f163b1c (
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=2
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 --with-rundir=/run \
24 --enable-udev-acl \
25 --enable-pam-module \
26 --disable-nls
27
28 make
29 make DESTDIR=$PKG install
30
31 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/consolekit.html
32 install -D -m 0644 $SRC/system-session $PKG/etc/pam.d/system-session
33 install -m 0755 $SRC/pam-foreground-compat.ck $PKG/etc/ConsoleKit/run-session.d/
34 mv $PKG/etc/X11/xinit/xinitrc.d/90-consolekit{,.sh}
35
36 rm -r $PKG/etc/logrotate.d $PKG/run
37 }
|