void-packages/srcpkgs/turbovnc/template

26 lines
936 B
Bash

# Template file for 'turbovnc'
pkgname=turbovnc
version=1.2.2
revision=1
build_style=cmake
configure_args="-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so -DTVNC_CONFDIR=/etc
-DTVNC_MANDIR=/usr/share/man -DTVNC_DOCDIR=/usr/share/doc/${pkgname}"
hostmakedepends="cmake rsync"
makedepends="libjpeg-turbo-devel libXt-devel libXaw-devel libXcursor-devel pam-devel"
short_desc="An optimized version of TightVNC - a VNC client"
conf_files="/etc/turbovncserver.conf /etc/turbovncserver-auth.conf"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://virtualgl.org"
distfiles="${SOURCEFORGE_SITE}/turbovnc/$pkgname-$version.tar.gz"
checksum=1f7c7ffa315a0ab5a9da3b01a8147e7e4a5a1da410228c771a1f4b6ff1a4a223
only_for_archs="i686 x86_64"
post_install() {
rm -rf ${DESTDIR}/etc/sysconfig
rm -rf ${DESTDIR}/etc/init.d
mv ${DESTDIR}/usr/README.txt ${DESTDIR}/usr/share/doc/${pkgname}
rm ${DESTDIR}/usr/share/man/man1/Xserver.1
}