wok-next annotate consolekit2/receipt @ rev 21695

updated gob2 (2.0.17 -> 2.0.20)
author Hans-G?nter Theisgen
date Tue Jun 30 15:37:32 2020 +0100 (2020-06-30)
parents 5669e8b3be70
children
rev   line source
al@19848 1 # SliTaz package receipt v2.
al@19848 2
al@19848 3 PACKAGE="consolekit2"
al@20894 4 VERSION="1.2.1"
al@19848 5 CATEGORY="system-tools"
al@19848 6 SHORT_DESC="ConsoleKit framework"
al@19848 7 MAINTAINER="al.bobylev@gmail.com"
al@19848 8 LICENSE="GPL2"
al@19848 9 WEB_SITE="https://github.com/Consolekit2/ConsoleKit2"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/consolekit.html"
al@20882 11 REPOLOGY="consolekit"
al@19848 12
al@19848 13 TARBALL="ConsoleKit2-$VERSION.tar.bz2"
al@19848 14 WGET_URL="https://github.com/Consolekit2/ConsoleKit2/releases/download/$VERSION/$TARBALL"
al@21162 15 TARBALL_SHA1="28869807eed0cc4a7a1d98030be1f2c7e5700d0e"
al@19848 16
al@21078 17 BUILD_DEPENDS="libx11-dev gettext-dev dbus-dev glib-dev polkit-dev \
al@21020 18 eudev-dev xmlto libxslt docbook-xsl libxml2-tools acl-dev"
al@21020 19 SPLIT="$PACKAGE-dev"
al@19848 20
al@21162 21 DEPENDS_std="acl dbus eudev glib libx11 polkit zlib"
al@21162 22 DEPENDS_dev="$PACKAGE dbus-dev glib-dev"
al@21162 23
al@20443 24 compile_rules() {
al@19848 25 ./configure \
al@19848 26 --localstatedir=/var \
al@19848 27 --enable-udev-acl \
al@19848 28 --enable-polkit \
al@19848 29 --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \
al@19848 30 --with-systemdsystemunitdir=no \
al@19848 31 --enable-docbook-docs \
al@19848 32 $CONFIGURE_ARGS &&
al@20569 33 fix libtool &&
al@20569 34 make &&
al@20569 35 make install || return 1
al@19848 36
al@20894 37 fix symlinks
al@20894 38
al@19848 39 mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \
al@19848 40 $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh
al@19848 41 }