mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
34 lines
945 B
Plaintext
Executable File
34 lines
945 B
Plaintext
Executable File
# description : Framework for keeping track of the various users, sessions, and seats present on a system
|
|
# depends : dbus-glib linux-pam polkit libx11
|
|
|
|
name=consolekit2
|
|
version=1.2.6
|
|
release=1
|
|
source="https://github.com/ConsoleKit2/ConsoleKit2/archive/$version/$name-$version.tar.gz
|
|
pam-foreground-compat.ck"
|
|
|
|
build() {
|
|
cd ConsoleKit2-$version
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--libexecdir=/usr/lib/$name \
|
|
--localstatedir=/var \
|
|
--disable-nls \
|
|
--enable-udev-acl \
|
|
--enable-pam-module \
|
|
--enable-polkit \
|
|
--with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \
|
|
--with-systemdsystemunitdir=no
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
mv -v $PKG/etc/X11/app-defaults/xinitrc.d/90-consolekit \
|
|
$PKG/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh
|
|
|
|
install -Dm 755 $SRC/pam-foreground-compat.ck \
|
|
$PKG/usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck
|
|
}
|