wok view realvnc-viewer/receipt @ rev 12701

Add: cross-arm-gcc (ARM cross compiler) Build will fail with cooker since it must be build with --first-pass the first time :-) A cross-arm-toolchain meta packge will follow
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 03 16:25:12 2012 +0200 (2012-05-03)
parents a3ce54180620
children e53e5e4b0f9e
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-uuid"
13 BUILD_DEPENDS="xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev \
14 xorg-libXdmcp-dev xorg-libXmu-dev xorg-xextproto xorg-libXtst-dev"
15 PROVIDE="vncviewer"
16 TAGS="remote-desktop"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mv vnc4* $src 2> /dev/null
22 cd $src
23 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \
24 common/network/TcpSocket.cxx ; do
25 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i
26 done
27 cd unix
28 ./configure --prefix=/usr $CONFIGURE_ARGS
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin
37 }