wok-next view realvnc-viewer/receipt @ rev 21716
created get-anydesk
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 28 11:20:16 2020 +0100 (2020-07-28) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="realvnc-viewer"
4 VERSION="4.1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="VNC viewer (graphical remote control)"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.realvnc.com/en/"
10 REPOLOGY="realvnc"
12 TARBALL="vnc4_$VERSION+X4.3.0.orig.tar.gz"
13 WGET_URL="http://ftp.de.debian.org/debian/pool/main/v/vnc4/$TARBALL"
15 BUILD_DEPENDS="libxaw-dev libxt-dev libxau-dev \
16 libxdmcp-dev libxmu-dev xorgproto libxtst-dev"
18 compile_rules() {
19 mv vnc4* $src 2> /dev/null
21 cd $src
22 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \
23 common/network/TcpSocket.cxx; do
24 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i
25 done
27 cd unix
28 export CXXFLAGS="-Wno-narrowing"
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make
34 }
36 genpkg_rules() {
37 mkdir -p $fs/usr/bin $fs/usr/share
39 cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin
40 cp -a $stuff/* $fs/usr/share
41 DEPENDS="gcc-lib-base libxdmcp libxau libx11 libxext \
42 libice libsm util-linux-uuid"
43 PROVIDE="vncviewer"
44 TAGS="remote-desktop vnc"
45 }