wok-next diff xorg-xrandr/receipt @ rev 20348

ploticus (2.42)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 18 17:19:51 2017 +0100 (2017-11-18)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/xorg-xrandr/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-xrandr/receipt	Sat Nov 18 17:19:51 2017 +0100
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xrandr"
     1.8  VERSION="1.5.0"
     1.9 @@ -12,18 +12,24 @@
    1.10  TARBALL="xrandr-$VERSION.tar.bz2"
    1.11  WGET_URL="$XORG_MIRROR/app/$TARBALL"
    1.12  
    1.13 -DEPENDS="xorg-libX11 xorg-libXrandr xorg-libXrender"
    1.14  BUILD_DEPENDS="xorg-util-macros xorg-libXrandr-dev xorg-libXrender-dev \
    1.15  xorg-libX11-dev xorg-xproto"
    1.16 +PKG_RULE="std"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -	./configure $CONFIGURE_ARGS && make && make install
    1.22 +	./configure \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--localstatedir=/var \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -	copy bin/
    1.34 +	copy @std
    1.35 +	DEPENDS="xorg-libX11 xorg-libXrandr xorg-libXrender"
    1.36  }