2006-09-06 23:10:13 +00:00
|
|
|
# Description: enhanced version of the VNC client/server protocol
|
2006-02-23 15:26:10 +00:00
|
|
|
# URL: http://www.tightvnc.org
|
2009-06-15 21:24:57 +02:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
2006-09-06 23:10:13 +00:00
|
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
2009-01-14 19:00:59 +01:00
|
|
|
# Depends on: libjpeg xorg-libxaw xorg-gccmakedep,xorg-imake
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=tightvnc
|
2009-03-06 15:38:14 +00:00
|
|
|
version=1.3.10
|
2009-06-15 21:24:57 +02:00
|
|
|
release=2
|
|
|
|
source=(http://dl.sourceforge.net/sourceforge/vnc-tight/$name-${version}_unixsrc.tar.bz2 \
|
|
|
|
$name-config.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2008-07-22 19:58:19 +02:00
|
|
|
cd vnc_unixsrc
|
2009-06-15 21:24:57 +02:00
|
|
|
patch -p0 -i $SRC/$name-config.patch
|
2008-07-22 19:58:19 +02:00
|
|
|
|
|
|
|
xmkmf -a
|
|
|
|
|
|
|
|
make Makefiles
|
|
|
|
find . -name "Makefile" -exec sed -i -e 's/-lXp$//g' '{}' \;
|
|
|
|
make depend
|
|
|
|
make all
|
|
|
|
|
|
|
|
cd Xvnc
|
|
|
|
|
|
|
|
./configure
|
|
|
|
make -j1
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
mkdir -p $PKG/usr/man/man1 $PKG/usr/bin $PKG/usr/share/vnc/classes
|
|
|
|
cp Xvnc/programs/Xserver/Xvnc vncviewer/vncviewer vncpasswd/vncpasswd \
|
|
|
|
vncconnect/vncconnect vncserver $PKG/usr/bin
|
|
|
|
cp classes/* $PKG/usr/share/vnc/classes
|
|
|
|
cp Xvnc/programs/Xserver/Xvnc.man $PKG/usr/man/man1/Xvnc.1
|
|
|
|
cp vncserver.man $PKG/usr/man/man1/vncserver.1
|
|
|
|
cp vncviewer/vncviewer.man $PKG/usr/man/man1/vncviewer.1
|
|
|
|
cp vncpasswd/vncpasswd.man $PKG/usr/man/man1/vncpasswd.1
|
|
|
|
cp vncconnect/vncconnect.man $PKG/usr/man/man1/vncconnect.1
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|