wok-next diff xorg-libXdmcp/receipt @ rev 19884
libxklavier: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 07 14:53:11 2017 +0200 (2017-10-07) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line diff
1.1 --- a/xorg-libXdmcp/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/xorg-libXdmcp/receipt Sat Oct 07 14:53:11 2017 +0200 1.3 @@ -1,9 +1,9 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xorg-libXdmcp" 1.8 VERSION="1.1.2" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="X Display Manager Control Protocol library" 1.11 +SHORT_DESC="X Display Manager Control Protocol routines" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="MIT" 1.14 WEB_SITE="https://www.x.org/wiki/" 1.15 @@ -12,8 +12,9 @@ 1.16 TARBALL="libXdmcp-$VERSION.tar.bz2" 1.17 WGET_URL="$XORG_MIRROR/lib/$TARBALL" 1.18 1.19 -DEPENDS="glibc-base" 1.20 BUILD_DEPENDS="xorg-xproto" 1.21 +SPLIT="xorg-libXdmcp-dev" 1.22 +PKG_RULE="std-dev" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 @@ -21,7 +22,6 @@ 1.27 ./configure \ 1.28 --sysconfdir=/etc \ 1.29 --localstatedir=/var \ 1.30 - --disable-static \ 1.31 $CONFIGURE_ARGS && 1.32 make && 1.33 make install 1.34 @@ -30,5 +30,13 @@ 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 - copy *.so* 1.39 + case $PACKAGE in 1.40 + *-libXdmcp) 1.41 + copy @std 1.42 + ;; 1.43 + *-dev) 1.44 + copy @dev 1.45 + DEPENDS="xorg-libXdmcp xorg-xproto" 1.46 + ;; 1.47 + esac 1.48 }