void-packages/srcpkgs/turbovnc/template
2019-01-09 00:03:08 -02:00

30 lines
1 KiB
Bash

# Template file for 'turbovnc'
pkgname=turbovnc
version=2.2.1
revision=1
build_style=cmake
configure_args="-DTJPEG_LIBRARY=/usr/lib/libturbojpeg.so -DTVNC_BUILDJAVA=0
-DTVNC_SYSTEMLIBS=ON"
hostmakedepends="rsync"
makedepends="libjpeg-turbo-devel libXt-devel libXaw-devel libXcursor-devel pam-devel
zlib-devel freetype-devel bzip2-devel libressl-devel"
depends="perl"
short_desc="Optimized version of TightVNC VNC client"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://virtualgl.org"
distfiles="${SOURCEFORGE_SITE}/turbovnc/${pkgname}-${version}.tar.gz"
checksum=d8c710dcf2128c235f8f203ec77b306c56b25d61134b47aeb55acaab4c2d3a61
conf_files="/etc/turbovncserver.conf /etc/turbovncserver-security.conf"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
conflicts="tigervnc>=0"
# Need this to make <sys/socket.h> define struct ucred with musl
CFLAGS="-D_GNU_SOURCE"
post_install() {
rm -rf ${DESTDIR}/etc/sysconfig
rm -rf ${DESTDIR}/etc/init.d
rm ${DESTDIR}/usr/share/man/man1/Xserver.1
}