wok view realvnc-viewer/receipt @ rev 20799
updated clonezilla (3.3.10 -> 3.27.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 15 13:43:34 2019 +0100 (2019-02-15) |
parents | 3705d68ed8f3 |
children | b78e79c31b1f |
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 TARBALL="vnc4_${VERSION}+X4.3.0.orig.tar.gz"
10 WEB_SITE="https://www.realvnc.com/"
11 WGET_URL="http://ftp.de.debian.org/debian/pool/main/v/vnc4/$TARBALL"
12 DEPENDS="gcc-lib-base xorg-libXdmcp xorg-libXau xorg-libX11 xorg-libXext \
13 xorg-libICE xorg-libSM util-linux-uuid"
14 BUILD_DEPENDS="xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev \
15 xorg-libXdmcp-dev xorg-libXmu-dev xorg-xextproto xorg-libXtst-dev"
16 PROVIDE="vncviewer"
17 TAGS="remote-desktop vnc"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mv vnc4* $src 2> /dev/null
24 find $src -name Makefile.linux \; | xargs sed -i 's|uname -m|echo i486|'
25 cd $src
26 case "$ARCH" in
27 arm*) sed -i 's/(AR)/& rc/' common/zlib/Makefile.in ;;
28 esac
29 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \
30 common/network/TcpSocket.cxx ; do
31 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i
32 done
33 cd unix
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 }