wok-next diff xorg-libXrender/receipt @ rev 19843

Up dbus, pcmciautils, opus-tools; add syslinux-slitaz-repack (to substitute syslinux), syslinux-slitaz-extra-repack (to substitute syslinux-extra).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 23 17:19:53 2017 +0300 (2017-08-23)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/xorg-libXrender/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-libXrender/receipt	Wed Aug 23 17:19:53 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-libXrender"
     1.8  VERSION="0.9.9"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="X Render Library"
    1.11 +SHORT_DESC="RENDER extension library"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -LICENSE="other"
    1.14 +LICENSE="MIT"
    1.15  WEB_SITE="https://www.x.org/wiki/"
    1.16  HOST_ARCH="i486 arm"
    1.17  
    1.18  TARBALL="libXrender-$VERSION.tar.bz2"
    1.19  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.20  
    1.21 -DEPENDS="xorg-libX11"
    1.22  BUILD_DEPENDS="xorg-libX11-dev xorg-renderproto"
    1.23 +SPLIT="xorg-libXrender-dev"
    1.24 +PKG_RULE="std-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28 @@ -21,13 +22,23 @@
    1.29  	./configure \
    1.30  		--sysconfdir=/etc \
    1.31  		--localstatedir=/var \
    1.32 -		--disable-static \
    1.33  		$CONFIGURE_ARGS &&
    1.34 -	make && make install
    1.35 +	make &&
    1.36 +	make install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	copy *.so*
    1.43 +	case $PACKAGE in
    1.44 +		*-libXrender)
    1.45 +			copy @std
    1.46 +			DEPENDS="xorg-libxcb xorg-libX11 xorg-libXau xorg-libXdmcp"
    1.47 +			;;
    1.48 +		*-dev)
    1.49 +			copy @dev
    1.50 +			DEPENDS="xorg-libXrender xorg-libxcb-dev xorg-libX11-dev \
    1.51 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-renderproto xorg-xproto"
    1.52 +			;;
    1.53 +	esac
    1.54  }