wok-next diff xorg-libXmu/receipt @ rev 20427

Up cookutils (1024), tazpkg (957)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 12:19:58 2018 +0200 (2018-01-24)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/xorg-libXmu/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-libXmu/receipt	Wed Jan 24 12:19:58 2018 +0200
     1.3 @@ -1,19 +1,20 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-libXmu"
     1.8  VERSION="1.1.2"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Xmu Library"
    1.11 +SHORT_DESC="X miscellaneous utility routines"
    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="libXmu-$VERSION.tar.bz2"
    1.19  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.20  
    1.21 -DEPENDS="xorg-libXext xorg-libXt"
    1.22  BUILD_DEPENDS="xorg-libXext-dev xorg-libXt-dev util-linux-uuid-dev"
    1.23 +SPLIT="xorg-libXmu-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,7 +22,6 @@
    1.29  	./configure \
    1.30  		--sysconfdir=/etc \
    1.31  		--localstatedir=/var \
    1.32 -		--disable-static \
    1.33  		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35  	make install
    1.36 @@ -30,5 +30,17 @@
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	copy *.so*
    1.41 +	case $PACKAGE in
    1.42 +		*-libXmu)
    1.43 +			copy @std
    1.44 +			DEPENDS="xorg-libxcb util-linux-uuid xorg-libICE xorg-libSM \
    1.45 +			xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXt"
    1.46 +			;;
    1.47 +		*-dev)
    1.48 +			copy @dev
    1.49 +			DEPENDS="xorg-libXmu xorg-libxcb-dev util-linux-uuid-dev \
    1.50 +			xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev \
    1.51 +			xorg-libXdmcp-dev xorg-libXext-dev xorg-libXt-dev xorg-xproto"
    1.52 +			;;
    1.53 +	esac
    1.54  }