wok view consolekit2/receipt @ rev 23445
updated powertop again (2.0 -> 2.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 02 16:17:16 2020 +0100 (2020-04-02) |
parents | 389660094be5 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="consolekit2"
4 VERSION="1.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="ConsoleKit framework."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/Consolekit2/ConsoleKit2"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/consolekit.html"
11 REPOLOGY="consolekit"
13 SOURCE="ConsoleKit2"
14 TARBALL="$SOURCE-$VERSION.tar.bz2"
15 WGET_URL="https://github.com/$SOURCE/$SOURCE/releases/download/$VERSION/$TARBALL"
16 TARBALL_SHA1="28869807eed0cc4a7a1d98030be1f2c7e5700d0e"
19 DEPENDS="acl dbus eudev glib polkit xorg-libX11 zlib"
20 BUILD_DEPENDS="acl-dev dbus-dev docbook-xsl eudev-dev gettext-base \
21 glib-dev libtool libxml2-tools libxslt polkit-dev \
22 util-linux-getopt util-linux-uuid-dev xmlto xorg-libX11-dev"
24 compile_rules()
25 {
26 ./configure \
27 --localstatedir=/var \
28 --enable-udev-acl \
29 --enable-polkit \
30 --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \
31 --with-systemdsystemunitdir=no \
32 --enable-docbook-docs \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install || return 1
37 mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \
38 $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh
39 }
41 genpkg_rules()
42 {
43 mkdir -p $fs/etc/X11/app-defaults
44 mkdir -p $fs/lib
45 mkdir -p $fs/usr/lib
46 mkdir -p $fs/usr/share
47 mkdir -p $fs/var/log/ConsoleKit
48 mkdir -p $fs/var/run/ConsoleKit
50 cp -a $install/etc/X11/app-defaults/xinitrc.d \
51 $fs/etc/X11/app-defaults
52 cp -a $install/usr/etc $fs
53 cp -a $install/usr/bin $fs/usr
54 cp -a $install/lib/udev $fs/lib
55 cp -a $install/usr/lib/ConsoleKit $fs/usr/lib
56 cp -a $install/usr/lib/*.so* $fs/usr/lib
57 cp -a $install/usr/libexec $fs/usr
58 cp -a $install/usr/sbin $fs/usr
59 cp -a $install/usr/share/dbus-1 $fs/usr/share
60 cp -a $install/usr/share/polkit-1 $fs/usr/share
62 # modify symbolic links
63 rm $fs/lib/udev/udev-acl
64 ln -s ../../usr/libexec/udev-acl \
65 $fs/lib/udev/udev-acl
66 rm $fs/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck
67 ln -s ../../../libexec/udev-acl \
68 $fs/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck
69 }