wok-next annotate consolekit2/receipt @ rev 20882
Check Repology info from a* to g* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 10 20:08:05 2018 +0300 (2018-07-10) |
parents | 5b905cdf92e6 |
children | 41860cbdf043 |
rev | line source |
---|---|
al@19848 | 1 # SliTaz package receipt v2. |
al@19848 | 2 |
al@19848 | 3 PACKAGE="consolekit2" |
al@19848 | 4 VERSION="1.0.2" |
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@20443 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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@19848 | 15 |
al@19848 | 16 BUILD_DEPENDS="xorg-libX11-dev gettext dbus-dev glib-dev polkit-dev eudev-dev \ |
al@20750 | 17 xmlto libxslt docbook-xsl libxml2-tools acl-dev" |
al@19848 | 18 SPLIT="consolekit2-dev" |
al@19848 | 19 |
al@20443 | 20 compile_rules() { |
al@19848 | 21 ./configure \ |
al@19848 | 22 --localstatedir=/var \ |
al@19848 | 23 --enable-udev-acl \ |
al@19848 | 24 --enable-polkit \ |
al@19848 | 25 --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \ |
al@19848 | 26 --with-systemdsystemunitdir=no \ |
al@19848 | 27 --enable-docbook-docs \ |
al@19848 | 28 $CONFIGURE_ARGS && |
al@20569 | 29 fix libtool && |
al@20569 | 30 make && |
al@20569 | 31 make install || return 1 |
al@19848 | 32 |
al@19848 | 33 mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \ |
al@19848 | 34 $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh |
al@19848 | 35 } |
al@19848 | 36 |
al@20443 | 37 genpkg_rules() { |
al@19848 | 38 case $PACKAGE in |
al@19848 | 39 consolekit2) |
al@19848 | 40 copy @std |
al@20749 | 41 DEPENDS="acl dbus eudev glib polkit xorg-libX11 zlib" |
al@19848 | 42 ;; |
al@19848 | 43 *-dev) |
al@19848 | 44 copy @dev |
al@19848 | 45 DEPENDS="consolekit2 dbus-dev" |
al@19848 | 46 ;; |
al@19848 | 47 esac |
al@19848 | 48 } |