From 3a761c57ab885064019874496ff45fdf056f6ced Mon Sep 17 00:00:00 2001 From: teldra Date: Sun, 11 Mar 2018 19:52:37 +0100 Subject: [PATCH] New package: x2vnc-1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #12803 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- srcpkgs/x2vnc/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/x2vnc/template diff --git a/srcpkgs/x2vnc/template b/srcpkgs/x2vnc/template new file mode 100644 index 0000000000..54485d5905 --- /dev/null +++ b/srcpkgs/x2vnc/template @@ -0,0 +1,24 @@ +# 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 " +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 +}