wok-next view consolekit2/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | 70ab89b1aac2 |
children | 835b3b8ce6ac |
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 make && make install || return 1
30 mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \
31 $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 consolekit2)
37 copy @std
38 DEPENDS="acl attr dbus eudev glib libffi pcre polkit \
39 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
40 xorg-libXau xorg-libXdmcp xorg-libxcb zlib"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="consolekit2 dbus-dev"
45 ;;
46 esac
47 }