wok-6.x view realvnc-viewer/receipt @ rev 25544

merkaartor: include localised messages in package
author Hans-G?nter Theisgen
date Sun Mar 12 15:58:49 2023 +0100 (20 months ago)
parents a78610b2eb47
children
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 }