void-packages/srcpkgs/turbovnc/template

26 lines
939 B
Bash

# Template file for 'turbovnc'
pkgname=turbovnc
version=1.2.3
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@voidlinux.eu>"
license="GPL-2"
homepage="http://virtualgl.org"
distfiles="${SOURCEFORGE_SITE}/turbovnc/$pkgname-$version.tar.gz"
checksum=44d19ea293a72d097733251d70adfe020da245cc84ff121e4232e0cd30a1a368
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
}