#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=x11vnc
pkgver=0.9.12
pkgrel=1gv
source=("http://downloads.sourceforge.net/project/libvncserver/x11vnc/$pkgver/x11vnc-$pkgver.tar.gz")
docs=("readme*" "install" "copying" "changelog" "authors" "news" "todo" "maintainers")
url=http://www.karlrunge.com/x11vnc

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"x11vnc (a VNC server for real X displays)"
"x11vnc allows one to view remotely and interact with real X displays"
"(i.e. a display corresponding to a physical monitor, keyboard, and"
"mouse) with any VNC viewer. In this way it plays the role for Unix/X11"
"that WinVNC plays for Windows."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}