void-packages/srcpkgs/turbovnc/template
Érico Rolim 5d325d0917 turbovnc: update description
- It also provides a VNC server.
2020-06-07 08:29:07 +02:00

30 lines
977 B
Bash

# Template file for 'turbovnc'
pkgname=turbovnc
version=2.2.4
revision=2
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 and server"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://virtualgl.org"
distfiles="${SOURCEFORGE_SITE}/turbovnc/${pkgname}-${version}.tar.gz"
checksum=821da48c3422e71c5b2cae338058e720078ec74c55c466e5cf90d8e5cc91b2bf
conf_files="/etc/*.conf"
archs="i686* x86_64* ppc64*"
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
}