wok view realvnc-viewer/receipt @ rev 24648
updated hplip (3.21.8 -> 3.22.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 14:02:17 2022 +0100 (2022-03-10) |
parents | a78610b2eb47 |
children | 41581d281860 |
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/vnc4_/!d;/orig/!d;s|.*vnc4_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 mv vnc4* $src 2> /dev/null
31 find $src -name Makefile.linux \; | xargs sed -i 's|uname -m|echo i486|'
32 cd $src
33 case "$ARCH" in
34 arm*) sed -i 's/(AR)/& rc/' common/zlib/Makefile.in ;;
35 esac
36 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \
37 common/network/TcpSocket.cxx ; do
38 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i
39 done
40 cd unix
41 ./configure --prefix=/usr $CONFIGURE_ARGS
42 make
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/bin $fs/usr/share
50 cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin
51 cp -a $stuff/* $fs/usr/share
52 }