wok-next view consolekit2/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="consolekit2"
4 VERSION="1.0.2"
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"
11 TARBALL="ConsoleKit2-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/Consolekit2/ConsoleKit2/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="xorg-libX11-dev gettext dbus-dev glib-dev polkit-dev eudev-dev \
15 xmlto libxslt docbook-xsl"
16 SPLIT="consolekit2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/consolekit.html
23 ./configure \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --enable-udev-acl \
27 --enable-polkit \
28 --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \
29 --docdir=/usr/share/doc/ConsoleKit-$VERSION \
30 --with-systemdsystemunitdir=no \
31 --enable-docbook-docs \
32 $CONFIGURE_ARGS &&
33 make && make install &&
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 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 case $PACKAGE in
43 consolekit2)
44 copy @std
45 DEPENDS="acl attr dbus eudev glib libffi pcre polkit \
46 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
47 xorg-libXau xorg-libXdmcp xorg-libxcb zlib"
48 ;;
49 *-dev)
50 copy @dev
51 DEPENDS="consolekit2 dbus-dev"
52 ;;
53 esac
54 }