wok-next view consolekit2/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 41860cbdf043
children d5aab818505e
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"
16 BUILD_DEPENDS="xorg-libX11-dev gettext dbus-dev glib-dev polkit-dev eudev-dev \
17 xmlto libxslt docbook-xsl libxml2-tools acl-dev"
18 SPLIT="consolekit2-dev"
20 compile_rules() {
21 ./configure \
22 --localstatedir=/var \
23 --enable-udev-acl \
24 --enable-polkit \
25 --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \
26 --with-systemdsystemunitdir=no \
27 --enable-docbook-docs \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install || return 1
33 fix symlinks
35 mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \
36 $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 consolekit2)
42 copy @std
43 DEPENDS="acl dbus eudev glib polkit xorg-libX11 zlib"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="consolekit2 dbus-dev"
48 ;;
49 esac
50 }