wok-stable view realvnc-viewer/receipt @ rev 4797
Fix: ruby version and URL.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Jan 17 09:04:32 2010 +0100 (2010-01-17) |
parents | |
children | 8be66f03fbd2 |
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 TARBALL="vnc4_${VERSION}+X4.3.0.orig.tar.gz"
9 WEB_SITE="http://www.realvnc.com/"
10 WGET_URL="http://ftp.de.debian.org/debian/pool/main/v/vnc4/$TARBALL"
11 DEPENDS="gcc-lib-base xorg-libXdmcp xorg-libXau xorg-libX11 xorg-libXext \
12 xorg-libICE xorg-libSM util-linux-ng-uuid"
13 BUILD_DEPENDS="xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev \
14 xorg-libXdmcp-dev xorg-libXmu-dev xorg-xextproto"
15 PROVIDE="vncviewer"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mv vnc4* $src 2> /dev/null
21 cd $src
22 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \
23 common/network/TcpSocket.cxx ; do
24 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i
25 done
26 cd unix
27 ./configure --prefix=/usr $CONFIGURE_ARGS
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin
36 }