void-packages/srcpkgs/x2vnc/template
teldra 3a761c57ab
New package: x2vnc-1.7.2
Closes: #12803 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-08 12:25:05 +02:00

24 lines
710 B
Bash

# Template file for 'x2vnc'
pkgname=x2vnc
version=1.7.2
revision=1
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>"
homepage="http://fredrik.hubbe.net/x2vnc.html"
license="GPL-2"
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
}