wok-next diff consolekit2/receipt @ rev 20532

moc, mypaint: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 26 13:35:23 2018 +0200 (2018-03-26)
parents 70ab89b1aac2
children 835b3b8ce6ac
line diff
     1.1 --- a/consolekit2/receipt	Sun Aug 27 15:34:42 2017 +0300
     1.2 +++ b/consolekit2/receipt	Mon Mar 26 13:35:23 2018 +0200
     1.3 @@ -7,38 +7,31 @@
     1.4  MAINTAINER="al.bobylev@gmail.com"
     1.5  LICENSE="GPL2"
     1.6  WEB_SITE="https://github.com/Consolekit2/ConsoleKit2"
     1.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/consolekit.html"
     1.8  
     1.9  TARBALL="ConsoleKit2-$VERSION.tar.bz2"
    1.10  WGET_URL="https://github.com/Consolekit2/ConsoleKit2/releases/download/$VERSION/$TARBALL"
    1.11  
    1.12  BUILD_DEPENDS="xorg-libX11-dev gettext dbus-dev glib-dev polkit-dev eudev-dev \
    1.13 -xmlto libxslt docbook-xsl"
    1.14 +xmlto libxslt docbook-xsl libxml2-tools"
    1.15  SPLIT="consolekit2-dev"
    1.16  
    1.17 -# Rules to configure and make the package.
    1.18 -compile_rules()
    1.19 -{
    1.20 -	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/consolekit.html
    1.21 -
    1.22 +compile_rules() {
    1.23  	./configure \
    1.24 -		--sysconfdir=/etc \
    1.25  		--localstatedir=/var \
    1.26  		--enable-udev-acl \
    1.27  		--enable-polkit \
    1.28  		--with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \
    1.29 -		--docdir=/usr/share/doc/ConsoleKit-$VERSION \
    1.30  		--with-systemdsystemunitdir=no \
    1.31  		--enable-docbook-docs \
    1.32  		$CONFIGURE_ARGS &&
    1.33 -	make && make install &&
    1.34 +	make && make install || return 1
    1.35  
    1.36  	mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \
    1.37  		  $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 +genpkg_rules() {
    1.44  	case $PACKAGE in
    1.45  		consolekit2)
    1.46  			copy @std