wok-next diff xorg-libXres/receipt @ rev 19988

Add qt5 - now it's look good enough
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 20 03:29:40 2017 +0300 (2017-10-20)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/xorg-libXres/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-libXres/receipt	Fri Oct 20 03:29:40 2017 +0300
     1.3 @@ -1,19 +1,20 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-libXres"
     1.8  VERSION="1.0.7"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Xorg server module."
    1.11 +SHORT_DESC="X Resource extension"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -WEB_SITE="https://www.x.org/wiki"
    1.15 +WEB_SITE="https://www.x.org/wiki/"
    1.16  
    1.17  TARBALL="libXres-$VERSION.tar.bz2"
    1.18  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.19  
    1.20 -DEPENDS="xorg-libX11 xorg-libXext"
    1.21 -BUILD_DEPENDS="pkg-config xorg-util-macros xorg-libX11-dev xorg-libXext-dev \
    1.22 +BUILD_DEPENDS="xorg-util-macros xorg-libX11-dev xorg-libXext-dev \
    1.23  xorg-resourceproto"
    1.24 +SPLIT="xorg-libXres-dev"
    1.25 +PKG_RULE="std-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29 @@ -21,7 +22,6 @@
    1.30  	./configure \
    1.31  		--sysconfdir=/etc \
    1.32  		--localstatedir=/var \
    1.33 -		--disable-static \
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make && make install
    1.36  }
    1.37 @@ -29,5 +29,16 @@
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	copy *.so*
    1.42 +	case $PACKAGE in
    1.43 +		*-libXres)
    1.44 +			copy @std
    1.45 +			DEPENDS="xorg-libxcb xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.46 +			xorg-libXext"
    1.47 +			;;
    1.48 +		*-dev)
    1.49 +			copy @dev
    1.50 +			DEPENDS="xorg-libXres xorg-libxcb-dev xorg-libX11-dev \
    1.51 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-xproto"
    1.52 +			;;
    1.53 +	esac
    1.54  }