wok-next diff xorg-libXtst/receipt @ rev 20199

Up firmware (fix some multiline or empty descriptions), gettext, gtk-theme-blackbird, libmpd, libmpdclient, openbox & openbox-max (keep default Clearlooks theme), xfce4-icon-theme, xfce4-taskmanager, xfmpc. terminal -> xfce4-terminal, xfce4-ristretto -> ristretto (weird, but we agreed to call packages according to sources tarballs).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 03 16:28:49 2017 +0200 (2017-11-03)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/xorg-libXtst/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-libXtst/receipt	Fri Nov 03 16:28:49 2017 +0200
     1.3 @@ -1,19 +1,20 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-libXtst"
     1.8  VERSION="1.2.2"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Xorg server module."
    1.11 +SHORT_DESC="Xorg server module"
    1.12  MAINTAINER="pankso@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  HOST_ARCH="i486 arm"
    1.17  
    1.18  TARBALL="libXtst-$VERSION.tar.bz2"
    1.19  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.20  
    1.21 -DEPENDS="xorg-libXext xorg-libXi"
    1.22  BUILD_DEPENDS="xorg-recordproto xorg-libXext-dev xorg-libXi-dev"
    1.23 +SPLIT="xorg-libXtst-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,25 @@
    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 +		*-libXtst)
    1.45 +			copy @std
    1.46 +			DEPENDS="xorg-libxcb xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.47 +			xorg-libXext xorg-libXi"
    1.48 +			;;
    1.49 +		*-dev)
    1.50 +			copy @dev
    1.51 +			DEPENDS="xorg-libXtst xorg-libxcb-dev xorg-libX11-dev \
    1.52 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXi-dev \
    1.53 +			xorg-recordproto xorg-xextproto"
    1.54 +			;;
    1.55 +	esac
    1.56  }