mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
new package:
- add ConsoleKit
This commit is contained in:
parent
497cd2ee7a
commit
ff4822f837
26
packages/sysutils/ConsoleKit/build
Executable file
26
packages/sysutils/ConsoleKit/build
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build dbus
|
||||||
|
$SCRIPTS/build dbus-glib
|
||||||
|
$SCRIPTS/build Linux-PAM
|
||||||
|
$SCRIPTS/build polkit
|
||||||
|
|
||||||
|
cd $PKG_BUILD
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--sbindir=/sbin \
|
||||||
|
--libexecdir=/usr/lib/ConsoleKit \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-pam-module \
|
||||||
|
--disable-docbook-docs \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
55
packages/sysutils/ConsoleKit/install
Executable file
55
packages/sysutils/ConsoleKit/install
Executable file
@ -0,0 +1,55 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install dbus
|
||||||
|
$SCRIPTS/install dbus-glib
|
||||||
|
$SCRIPTS/install Linux-PAM
|
||||||
|
$SCRIPTS/install polkit
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/etc/ConsoleKit/run-seat.d
|
||||||
|
mkdir -p $INSTALL/etc/ConsoleKit/run-session.d
|
||||||
|
mkdir -p $INSTALL/etc/ConsoleKit/seats.d
|
||||||
|
cp -PR $PKG_BUILD/data/00-primary.seat $INSTALL/etc/ConsoleKit/seats.d
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/etc/dbus-1/system.d
|
||||||
|
cp -PR $PKG_BUILD/data/ConsoleKit.conf $INSTALL/etc/dbus-1/system.d
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/lib/security
|
||||||
|
cp -PR $PKG_BUILD/pam-ck-connector/.libs/*.so $INSTALL/lib/security
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/sbin
|
||||||
|
cp -PR $PKG_BUILD/tools/ck-log-system-restart $INSTALL/sbin
|
||||||
|
cp -PR $PKG_BUILD/tools/ck-log-system-start $INSTALL/sbin
|
||||||
|
cp -PR $PKG_BUILD/tools/ck-log-system-stop $INSTALL/sbin
|
||||||
|
cp -PR $PKG_BUILD/src/console-kit-daemon $INSTALL/sbin
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/bin
|
||||||
|
cp -PR $PKG_BUILD/tools/.libs/ck-launch-session $INSTALL/usr/bin
|
||||||
|
cp -PR $PKG_BUILD/tools/ck-list-sessions $INSTALL/usr/bin
|
||||||
|
cp -PR $PKG_BUILD/tools/ck-history $INSTALL/usr/bin
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -PR $PKG_BUILD/libck-connector/.libs/*.so* $INSTALL/usr/lib
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib/ConsoleKit
|
||||||
|
cp -PR $PKG_BUILD/tools/ck-collect-session-info $INSTALL/usr/lib/ConsoleKit
|
||||||
|
cp -PR $PKG_BUILD/tools/ck-get-x11-display-device $INSTALL/usr/lib/ConsoleKit
|
||||||
|
cp -PR $PKG_BUILD/tools/ck-get-x11-server-pid $INSTALL/usr/lib/ConsoleKit
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib/ConsoleKit/run-seat.d
|
||||||
|
mkdir -p $INSTALL/usr/lib/ConsoleKit/run-session.d
|
||||||
|
mkdir -p $INSTALL/usr/lib/ConsoleKit/scripts
|
||||||
|
cp -PR $PKG_BUILD/tools/linux/ck-system-restart $INSTALL/usr/lib/ConsoleKit/scripts
|
||||||
|
cp -PR $PKG_BUILD/tools/linux/ck-system-stop $INSTALL/usr/lib/ConsoleKit/scripts
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/share/dbus-1/interfaces
|
||||||
|
cp -PR $PKG_BUILD/src/org.freedesktop.ConsoleKit.Manager.xml $INSTALL/usr/share/dbus-1/interfaces
|
||||||
|
cp -PR $PKG_BUILD/src/org.freedesktop.ConsoleKit.Seat.xml $INSTALL/usr/share/dbus-1/interfaces
|
||||||
|
cp -PR $PKG_BUILD/src/org.freedesktop.ConsoleKit.Session.xml $INSTALL/usr/share/dbus-1/interfaces
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/share/dbus-1/system-services
|
||||||
|
cp -PR $PKG_BUILD/data/org.freedesktop.ConsoleKit.service $INSTALL/usr/share/dbus-1/system-services
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/share/polkit-1/actions
|
||||||
|
cp -PR $PKG_BUILD/data/org.freedesktop.consolekit.policy $INSTALL/usr/share/polkit-1/actions
|
1
packages/sysutils/ConsoleKit/url
Normal file
1
packages/sysutils/ConsoleKit/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.4.1.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user