wok-next view consolekit2/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 342b30daff76 |
children | d958fec46c9f |
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 acl-dev"
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 dbus eudev glib polkit xorg-libX11 zlib"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="consolekit2 dbus-dev"
45 ;;
46 esac
47 }