wok-next diff realvnc-viewer/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | f99935f1778a |
children | d5aab818505e |
line diff
1.1 --- a/realvnc-viewer/receipt Fri Aug 24 15:29:24 2018 +0300 1.2 +++ b/realvnc-viewer/receipt Tue Oct 16 16:46:05 2018 +0300 1.3 @@ -1,9 +1,9 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="realvnc-viewer" 1.8 VERSION="4.1.1" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="VNC viewer (graphical remote control)." 1.11 +SHORT_DESC="VNC viewer (graphical remote control)" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="https://www.realvnc.com/" 1.15 @@ -12,34 +12,34 @@ 1.16 TARBALL="vnc4_${VERSION}+X4.3.0.orig.tar.gz" 1.17 WGET_URL="http://ftp.de.debian.org/debian/pool/main/v/vnc4/$TARBALL" 1.18 1.19 -DEPENDS="gcc-lib-base xorg-libXdmcp xorg-libXau xorg-libX11 xorg-libXext \ 1.20 -xorg-libICE xorg-libSM util-linux-uuid" 1.21 BUILD_DEPENDS="xorg-libXaw-dev xorg-libXt-dev xorg-libXau-dev \ 1.22 xorg-libXdmcp-dev xorg-libXmu-dev xorg-xorgproto xorg-libXtst-dev" 1.23 1.24 -PROVIDE="vncviewer" 1.25 -TAGS="remote-desktop vnc" 1.26 +compile_rules() { 1.27 + mv vnc4* $src 2> /dev/null 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - mv vnc4* $src 2> /dev/null 1.33 cd $src 1.34 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \ 1.35 common/network/TcpSocket.cxx ; do 1.36 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i 1.37 done 1.38 + 1.39 cd unix 1.40 export CXXFLAGS="-Wno-narrowing" 1.41 - ./configure --prefix=/usr $CONFIGURE_ARGS 1.42 + 1.43 + ./configure \ 1.44 + --prefix=/usr \ 1.45 + $CONFIGURE_ARGS && 1.46 make 1.47 } 1.48 1.49 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.50 -genpkg_rules() 1.51 -{ 1.52 +genpkg_rules() { 1.53 mkdir -p $fs/usr/bin $fs/usr/share 1.54 - 1.55 + 1.56 cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin 1.57 cp -a $stuff/* $fs/usr/share 1.58 + DEPENDS="gcc-lib-base xorg-libXdmcp xorg-libXau xorg-libX11 xorg-libXext \ 1.59 + xorg-libICE xorg-libSM util-linux-uuid" 1.60 + PROVIDE="vncviewer" 1.61 + TAGS="remote-desktop vnc" 1.62 }