wok-current annotate realvnc-viewer/receipt @ rev 12481
Rename linux-util-ng to util-linux in all packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:30:27 2012 +0200 (2012-04-23) |
parents | a3ce54180620 |
children | e53e5e4b0f9e |
rev | line source |
---|---|
pascal@4418 | 1 # SliTaz package receipt. |
pascal@4418 | 2 |
pascal@4418 | 3 PACKAGE="realvnc-viewer" |
pascal@4418 | 4 VERSION="4.1.1" |
pascal@4418 | 5 CATEGORY="x-window" |
pascal@4418 | 6 SHORT_DESC="VNC viewer (graphical remote control)." |
pascal@4418 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4418 | 8 TARBALL="vnc4_${VERSION}+X4.3.0.orig.tar.gz" |
pascal@4418 | 9 WEB_SITE="http://www.realvnc.com/" |
pascal@4418 | 10 WGET_URL="http://ftp.de.debian.org/debian/pool/main/v/vnc4/$TARBALL" |
pascal@4418 | 11 DEPENDS="gcc-lib-base xorg-libXdmcp xorg-libXau xorg-libX11 xorg-libXext \ |
pankso@12481 | 12 xorg-libICE xorg-libSM util-linux-uuid" |
pascal@4418 | 13 BUILD_DEPENDS="xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev \ |
pascal@8937 | 14 xorg-libXdmcp-dev xorg-libXmu-dev xorg-xextproto xorg-libXtst-dev" |
pascal@4418 | 15 PROVIDE="vncviewer" |
jozee@4972 | 16 TAGS="remote-desktop" |
pascal@4418 | 17 |
pascal@4418 | 18 # Rules to configure and make the package. |
pascal@4418 | 19 compile_rules() |
pascal@4418 | 20 { |
pascal@4418 | 21 mv vnc4* $src 2> /dev/null |
pascal@4418 | 22 cd $src |
pascal@4418 | 23 for i in unix/tx/TXImage.cxx unix/x0vncserver/Image.cxx \ |
pascal@4418 | 24 common/network/TcpSocket.cxx ; do |
pascal@4418 | 25 grep -q stdlib $i || sed -i '1i#include <stdlib.h>' $i |
pascal@4418 | 26 done |
pascal@4418 | 27 cd unix |
pascal@4418 | 28 ./configure --prefix=/usr $CONFIGURE_ARGS |
pascal@4418 | 29 make |
pascal@4418 | 30 } |
pascal@4418 | 31 |
pascal@4418 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4418 | 33 genpkg_rules() |
pascal@4418 | 34 { |
pascal@4418 | 35 mkdir -p $fs/usr/bin |
pascal@4418 | 36 cp -a $src/unix/vncviewer/vncviewer $fs/usr/bin |
pascal@4418 | 37 } |