wok-next diff tightvnc/receipt @ rev 20916
libopenraw, abiword: update deps; boost: pack unpacked libs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 05:42:25 2018 +0300 (2018-08-21) |
parents | d1b6fe8c8301 |
children | f99935f1778a |
line diff
1.1 --- a/tightvnc/receipt Thu Jul 18 10:30:42 2013 +0000 1.2 +++ b/tightvnc/receipt Tue Aug 21 05:42:25 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="tightvnc" 1.8 VERSION="1.3.10" 1.9 @@ -9,12 +9,12 @@ 1.10 TARBALL="$PACKAGE-${VERSION}_unixsrc.tar.bz2" 1.11 WEB_SITE="http://www.tightvnc.com/" 1.12 WGET_URL="$SF_MIRROR/vnc-tight/$TARBALL" 1.13 -DEPENDS="xorg-base-fonts jpeg zlib" 1.14 + 1.15 BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-cf-files xorg-libXp \ 1.16 xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev \ 1.17 xorg-libXmu-dev xorg-xextproto xorg-printproto xorg-kbproto xorg-inputproto \ 1.18 xorg-scrnsaverproto xorg-xauth jpeg-dev zlib-dev xorg-libXrandr-dev" 1.19 -TAGS="remote-desktop vnc" 1.20 +SPLIT="tightvnc tightvnc-extra tightvnc-java tightvnc-viewer" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 @@ -40,10 +40,14 @@ 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 - mkdir -p $fs/usr/bin 1.29 - cp -a $install/usr/bin/Xvnc $fs/usr/bin 1.30 - cp $src/vncpasswd/vncpasswd $fs/usr/bin 1.31 - cat > $fs/usr/bin/startvnc <<EOM 1.32 + case $PACKAGE in 1.33 + tightvnc) 1.34 + TAGS="remote-desktop vnc" 1.35 + DEPENDS="xorg-base-fonts jpeg zlib" 1.36 + mkdir -p $fs/usr/bin 1.37 + cp -a $install/usr/bin/Xvnc $fs/usr/bin 1.38 + cp $src/vncpasswd/vncpasswd $fs/usr/bin 1.39 + cat > $fs/usr/bin/startvnc <<EOM 1.40 #!/bin/sh 1.41 1.42 case "\$1" in 1.43 @@ -60,5 +64,35 @@ 1.44 export DISPLAY=:\${1:-1} 1.45 exec \$WINDOW_MANAGER 1.46 EOM 1.47 - chmod +x $fs/usr/bin/startvnc 1.48 + chmod +x $fs/usr/bin/startvnc 1.49 + ;; 1.50 + tightvnc-extra) 1.51 + CAT="x-window|VNC extra tools." 1.52 + TAGS="vnc" 1.53 + DEPENDS="perl jpeg zlib xorg-libXdmcp xorg-libXau xorg-libX11 \ 1.54 + xorg-libXext" 1.55 + mkdir -p $fs/usr/bin $fs/etc 1.56 + cp $src/vncconnect/vncconnect $src/vncserver $fs/usr/bin 1.57 + cp $src/tightvncserver.conf $fs/etc 1.58 + cat >> $fs/etc/tightvncserver.conf << 'EOF' 1.59 +$vncClasses = "/usr/share/vnc/classes"; 1.60 +$fontPath = "/usr/share/fonts/X11/misc/"; 1.61 +EOF 1.62 + ;; 1.63 + tightvnc-java) 1.64 + CAT="x-window|VNC Java client." 1.65 + DEPENDS="tightvnc" 1.66 + mkdir -p $fs/usr/share/vnc 1.67 + cp -pa $src/classes $fs/usr/share/vnc 1.68 + ;; 1.69 + tightvnc-viewer) 1.70 + CAT="x-window|VNC client for X." 1.71 + TAGS="vnc remote-desktop" 1.72 + DEPENDS="jpeg zlib xorg-libXdmcp xorg-libXau xorg-libX11 \ 1.73 + xorg-libXext xorg-libXp xorg-libXpm xorg-libICE \ 1.74 + xorg-libSM xorg-libXt xorg-libXmu xorg-libXaw" 1.75 + mkdir -p $fs/usr/bin 1.76 + cp -a $install/usr/bin/vncviewer $fs/usr/bin 1.77 + ;; 1.78 + esac 1.79 }