wok-next view realvnc-viewer/receipt @ rev 20909
Update homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 13 00:47:17 2018 +0300 (2018-08-13) |
parents | cd7906120828 |
children | f99935f1778a |
line source
1 # SliTaz package receipt.
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/"
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 DEPENDS="gcc-lib-base xorg-libXdmcp xorg-libXau xorg-libX11 xorg-libXext \
16 xorg-libICE xorg-libSM util-linux-uuid"
17 BUILD_DEPENDS="xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev \
18 xorg-libXdmcp-dev xorg-libXmu-dev xorg-xextproto xorg-libXtst-dev"
20 PROVIDE="vncviewer"
21 TAGS="remote-desktop vnc"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mv vnc4* $src 2> /dev/null
27 cd $src
28 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \
29 common/network/TcpSocket.cxx ; do
30 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i
31 done
32 cd unix
33 export CXXFLAGS="-Wno-narrowing"
34 ./configure --prefix=/usr $CONFIGURE_ARGS
35 make
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin $fs/usr/share
43 cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin
44 cp -a $stuff/* $fs/usr/share
45 }