wok-next diff xorg-libX11/receipt @ rev 19925
libftdi: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 14 23:27:36 2017 +0200 (2017-10-14) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line diff
1.1 --- a/xorg-libX11/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/xorg-libX11/receipt Sat Oct 14 23:27:36 2017 +0200 1.3 @@ -1,20 +1,21 @@ 1.4 - # SliTaz package receipt. 1.5 + # SliTaz package receipt v2. 1.6 1.7 PACKAGE="xorg-libX11" 1.8 VERSION="1.6.3" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="X Library" 1.11 +SHORT_DESC="X11 Client 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="libX11-$VERSION.tar.bz2" 1.19 WGET_URL="$XORG_MIRROR/lib/$TARBALL" 1.20 1.21 -DEPENDS="libxcb xorg-libXau xorg-libXdmcp" 1.22 BUILD_DEPENDS="xorg-xtrans libxcb-dev xorg-kbproto xorg-xf86bigfontproto \ 1.23 xorg-inputproto xorg-xextproto xorg-libXau-dev xorg-libXdmcp-dev perl" 1.24 +SPLIT="xorg-libX11-dev" 1.25 +PKG_RULE="std-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 @@ -22,11 +23,11 @@ 1.30 ./configure \ 1.31 --sysconfdir=/etc \ 1.32 --localstatedir=/var \ 1.33 - --disable-static \ 1.34 $CONFIGURE_ARGS && 1.35 make && 1.36 make install 1.37 1.38 + # strip whitespace 1.39 for i in $(find $install -name Compose); do 1.40 sed -i 's|\t| |g; s| *| |g; /^$/d' $i 1.41 done 1.42 @@ -35,7 +36,18 @@ 1.43 # Rules to gen a SliTaz package suitable for Tazpkg. 1.44 genpkg_rules() 1.45 { 1.46 - copy *.so* XErrorDB Xcms.txt compose.dir locale.alias locale.dir \ 1.47 - C/ en_US.UTF-8/ 1.48 - # split -> locale-* packages 1.49 + case $PACKAGE in 1.50 + *-libX11) 1.51 + copy *.so* XErrorDB Xcms.txt compose.dir locale.alias locale.dir \ 1.52 + C/ en_US.UTF-8/ 1.53 + # split -> locale-* packages 1.54 + DEPENDS="xorg-libxcb xorg-libXau xorg-libXdmcp" 1.55 + ;; 1.56 + *-dev) 1.57 + copy @dev 1.58 + DEPENDS="xorg-libX11 xorg-xtrans xorg-libxcb-dev xorg-kbproto \ 1.59 + xorg-inputproto xorg-xextproto xorg-xproto xorg-libXau-dev \ 1.60 + xorg-libXdmcp-dev" 1.61 + ;; 1.62 + esac 1.63 }