wok-4.x diff realvnc-viewer/receipt @ rev 4418
Add realvnc-viewer
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 24 15:52:24 2009 +0200 (2009-10-24) |
parents | |
children | 8be66f03fbd2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/realvnc-viewer/receipt Sat Oct 24 15:52:24 2009 +0200 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="realvnc-viewer" 1.7 +VERSION="4.1.1" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="VNC viewer (graphical remote control)." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="vnc4_${VERSION}+X4.3.0.orig.tar.gz" 1.12 +WEB_SITE="http://www.realvnc.com/" 1.13 +WGET_URL="http://ftp.de.debian.org/debian/pool/main/v/vnc4/$TARBALL" 1.14 +DEPENDS="gcc-lib-base xorg-libXdmcp xorg-libXau xorg-libX11 xorg-libXext \ 1.15 +xorg-libICE xorg-libSM util-linux-ng-uuid" 1.16 +BUILD_DEPENDS="xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev \ 1.17 +xorg-libXdmcp-dev xorg-libXmu-dev xorg-xextproto" 1.18 +PROVIDE="vncviewer" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + mv vnc4* $src 2> /dev/null 1.24 + cd $src 1.25 + for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \ 1.26 + common/network/TcpSocket.cxx ; do 1.27 + grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i 1.28 + done 1.29 + cd unix 1.30 + ./configure --prefix=/usr $CONFIGURE_ARGS 1.31 + make 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/bin 1.38 + cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin 1.39 +}