# HG changeset patch # User Pascal Bellard # Date 1256392344 -7200 # Node ID e6a0e0e212827033831051be3a2825266268141e # Parent 0d1e7bbefa4a98d0e990efa62bce7270c9640d6a Add realvnc-viewer diff -r 0d1e7bbefa4a -r e6a0e0e21282 realvnc-viewer/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/realvnc-viewer/receipt Sat Oct 24 15:52:24 2009 +0200 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="realvnc-viewer" +VERSION="4.1.1" +CATEGORY="x-window" +SHORT_DESC="VNC viewer (graphical remote control)." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="vnc4_${VERSION}+X4.3.0.orig.tar.gz" +WEB_SITE="http://www.realvnc.com/" +WGET_URL="http://ftp.de.debian.org/debian/pool/main/v/vnc4/$TARBALL" +DEPENDS="gcc-lib-base xorg-libXdmcp xorg-libXau xorg-libX11 xorg-libXext \ +xorg-libICE xorg-libSM util-linux-ng-uuid" +BUILD_DEPENDS="xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev \ +xorg-libXdmcp-dev xorg-libXmu-dev xorg-xextproto" +PROVIDE="vncviewer" + +# Rules to configure and make the package. +compile_rules() +{ + mv vnc4* $src 2> /dev/null + cd $src + for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \ + common/network/TcpSocket.cxx ; do + grep -q stdlib $i || sed -i '1i#include ' $i + done + cd unix + ./configure --prefix=/usr $CONFIGURE_ARGS + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin +}