wok-current view realvnc-viewer/receipt @ rev 14900
Add firmware-mod-kit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 31 11:20:11 2013 +0200 (2013-07-31) |
parents | c1a6207efcd8 |
children | 9e8e47282d8a |
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="http://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"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mv vnc4* $src 2> /dev/null
23 cd $src
24 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \
25 common/network/TcpSocket.cxx ; do
26 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i
27 done
28 cd unix
29 ./configure --prefix=/usr $CONFIGURE_ARGS
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin $fs/usr/share
38 cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin
39 cp -a $stuff/* $fs/usr/share
40 }