opt/tightvnc/Pkgfile
2006-02-23 15:26:10 +00:00

31 lines
974 B
Plaintext

# Description: an enhanced version of the VNC client/server networked graphical desktop protocol and applications
# URL: http://www.tightvnc.org
# Maintainer: sten, nick dot steeves at shaw dot ca
# Packager: Thanks for the patch Jaeger
# Depends on: x11
# Might conflict with the vncviewer
name=tightvnc
version=1.2.9
release=4
source=(http://download.sourceforge.net/sourceforge/vnc-tight/tightvnc-${version}_unixsrc.tar.bz2 $name-config.patch $name-gcc3.4.patch )
build() {
cd vnc_unixsrc;
patch -p1 < $SRC/$name-gcc3.4.patch
patch < $SRC/$name-config.patch
xmkmf
make World
cd Xvnc
./configure
make
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 $PKG/usr/bin
cp 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
}