31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'turbovnc'
|
|
pkgname=turbovnc
|
|
version=2.0.91
|
|
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} -DTVNC_BUILDJAVA=0"
|
|
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-security.conf"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://virtualgl.org"
|
|
distfiles="${SOURCEFORGE_SITE}/turbovnc/$pkgname-$version.tar.gz"
|
|
checksum=bc7afe15f6a94652a58562006418a4c1dbe2920bd2f6fdb8580e37a95555e373
|
|
|
|
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
|
|
|
|
mv ${DESTDIR}/usr/README.txt ${DESTDIR}/usr/share/doc/${pkgname}
|
|
rm ${DESTDIR}/usr/share/man/man1/Xserver.1
|
|
}
|