wok-next view consolekit2/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0e7893ac206d |
children | 342b30daff76 |
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"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/consolekit.html"
12 TARBALL="ConsoleKit2-$VERSION.tar.bz2"
13 WGET_URL="https://github.com/Consolekit2/ConsoleKit2/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="xorg-libX11-dev gettext dbus-dev glib-dev polkit-dev eudev-dev \
16 xmlto libxslt docbook-xsl libxml2-tools"
17 SPLIT="consolekit2-dev"
19 compile_rules() {
20 ./configure \
21 --localstatedir=/var \
22 --enable-udev-acl \
23 --enable-polkit \
24 --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \
25 --with-systemdsystemunitdir=no \
26 --enable-docbook-docs \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make install || return 1
32 mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \
33 $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 consolekit2)
39 copy @std
40 DEPENDS="acl attr dbus eudev glib libffi pcre polkit \
41 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
42 xorg-libXau xorg-libXdmcp xorg-libxcb zlib"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="consolekit2 dbus-dev"
47 ;;
48 esac
49 }