summaryrefslogtreecommitdiffstats
path: root/extra/tightvnc-viewer/Pkgfile
blob: b18f256dd37c59e2d7fd2ccd7a5e88b1f8320ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: A free remote control software package derived from VNC (client)
# URL: http://www.tightvnc.com/
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Packager: thierryn1 at hispeed dot ch
# Depends on: xorg, xorg-imake, xorg-gccmakedep, libjpeg

name=tightvnc-viewer
version=1.3.10
release=1
source=(http://www.tightvnc.com/download/$version/tightvnc-${version}_unixsrc.tar.bz2)
build() {
	cd vnc_unixsrc
	xmkmf -a
	make Makefiles
	find . -name "Makefile" -exec \
		sed -i -e 's/-lXp$//g' '{}' \;
	make depend
	make all
	mkdir -p $PKG/usr/{bin,share/man/man1}
	./vncinstall $PKG/usr/bin $PKG/usr/share/man
	rm -f $PKG/usr/bin/vncserver $PKG/usr/share/man/man1/{Xvnc,vncserver}*
	chown -R 0:0 $PKG
}