void-packages/srcpkgs/x2vnc/template
2021-08-22 16:38:22 +07:00

24 lines
721 B
Bash

# Template file for 'x2vnc'
pkgname=x2vnc
version=1.7.2
revision=2
hostmakedepends="imake"
makedepends="libXrandr-devel libXxf86dga-devel libX11-devel libXScrnSaver-devel"
depends="libXrandr libXxf86dga libX11 libXScrnSaver"
short_desc="Connect mouse via VNC"
maintainer="teldra <teldra@rotce.de>"
license="GPL-2.0-or-later"
homepage="http://fredrik.hubbe.net/x2vnc.html"
distfiles="http://fredrik.hubbe.net/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=dc076dc0dad1ae4ebf5bc95bf792812b2639e92e127efb9c68de6a53874c7001
CFLAGS="-D_DEFAULT_SOURCE"
do_build() {
CC=cc xmkmf
make CC=$CC CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
}
do_install() {
make MANSUFFIX=1 DESTDIR=${DESTDIR} install install.man
}