wok-next diff xorg-libdmx/receipt @ rev 19903
lynx: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 12 18:00:53 2017 +0200 (2017-10-12) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line diff
1.1 --- a/xorg-libdmx/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/xorg-libdmx/receipt Thu Oct 12 18:00:53 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-libdmx" 1.8 VERSION="1.1.3" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Xorg DMX library." 1.11 +SHORT_DESC="Xorg DMX library" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="MIT" 1.14 WEB_SITE="https://www.x.org/wiki" 1.15 @@ -11,8 +11,9 @@ 1.16 TARBALL="libdmx-$VERSION.tar.bz2" 1.17 WGET_URL="$XORG_MIRROR/lib/$TARBALL" 1.18 1.19 -DEPENDS="" 1.20 BUILD_DEPENDS="xorg-dmxproto xorg-libX11-dev xorg-libXext-dev xorg-xextproto" 1.21 +SPLIT="xorg-libdmx-dev" 1.22 +PKG_RULE="std-dev" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 @@ -28,5 +29,16 @@ 1.27 # Rules to gen a SliTaz package suitable for Tazpkg. 1.28 genpkg_rules() 1.29 { 1.30 - copy *.so* 1.31 + case $PACKAGE in 1.32 + *-libdmx) 1.33 + copy @std 1.34 + DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 1.35 + xorg-libxcb" 1.36 + ;; 1.37 + *-dev) 1.38 + copy @dev 1.39 + DEPENDS="xorg-libdmx xorg-dmxproto xorg-libX11-dev xorg-libXau-dev \ 1.40 + xorg-libXdmcp-dev xorg-libXext-dev xorg-libxcb-dev" 1.41 + ;; 1.42 + esac 1.43 }