blob: 0f857757c86bb07c31e8c8a667df0b4affcf2067 (
plain)
1 # Description: enhanced version of the VNC client/server protocol
2 # URL: http://www.tightvnc.org
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: sten, nick dot steeves at shaw dot ca
5 # Depends on: libjpeg-turbo xorg-libxaw xorg-gccmakedep xorg-imake
6
7 name=tightvnc
8 version=1.3.10
9 release=3
10 source=(http://download.sourceforge.net/vnc-tight/$name-${version}_unixsrc.tar.bz2 \
11 $name-config.patch)
12
13 build() {
14 cd vnc_unixsrc
15 patch -p0 -i $SRC/$name-config.patch
16
17 xmkmf -a
18
19 make Makefiles
20 find . -name "Makefile" -exec sed -i -e 's/-lXp$//g' '{}' \;
21 make depend
22 make all
23
24 cd Xvnc
25
26 ./configure
27 make -j1
28
29 cd ..
30
31 mkdir -p $PKG/usr/share/man/man1 $PKG/usr/bin $PKG/usr/share/vnc/classes
32 cp Xvnc/programs/Xserver/Xvnc vncviewer/vncviewer vncpasswd/vncpasswd \
33 vncconnect/vncconnect vncserver $PKG/usr/bin
34 cp classes/* $PKG/usr/share/vnc/classes
35 cp Xvnc/programs/Xserver/Xvnc.man $PKG/usr/share/man/man1/Xvnc.1
36 cp vncserver.man $PKG/usr/share/man/man1/vncserver.1
37 cp vncviewer/vncviewer.man $PKG/usr/share/man/man1/vncviewer.1
38 cp vncpasswd/vncpasswd.man $PKG/usr/share/man/man1/vncpasswd.1
39 cp vncconnect/vncconnect.man $PKG/usr/share/man/man1/vncconnect.1
40 }
|