wok-next view consolekit2/receipt @ rev 21718

Up dropbear (2020.80)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 29 08:19:44 2020 +0000 (2020-07-29)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="consolekit2"
4 VERSION="1.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="ConsoleKit framework"
7 MAINTAINER="al.bobylev@gmail.com"
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 TARBALL="ConsoleKit2-$VERSION.tar.bz2"
14 WGET_URL="https://github.com/Consolekit2/ConsoleKit2/releases/download/$VERSION/$TARBALL"
15 TARBALL_SHA1="28869807eed0cc4a7a1d98030be1f2c7e5700d0e"
17 BUILD_DEPENDS="libx11-dev gettext-dev dbus-dev glib-dev polkit-dev \
18 eudev-dev xmlto libxslt docbook-xsl libxml2-tools acl-dev"
19 SPLIT="$PACKAGE-dev"
21 DEPENDS_std="acl dbus eudev glib libx11 polkit zlib"
22 DEPENDS_dev="$PACKAGE dbus-dev glib-dev"
24 compile_rules() {
25 ./configure \
26 --localstatedir=/var \
27 --enable-udev-acl \
28 --enable-polkit \
29 --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \
30 --with-systemdsystemunitdir=no \
31 --enable-docbook-docs \
32 $CONFIGURE_ARGS &&
33 fix libtool &&
34 make &&
35 make install || return 1
37 fix symlinks
39 mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \
40 $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh
41 }