New package: x2vnc-1.7.2

Closes: #12803 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
teldra 2018-03-11 19:52:37 +01:00 committed by Jürgen Buchmüller
parent 621cdcf649
commit 3a761c57ab
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 24 additions and 0 deletions

24
srcpkgs/x2vnc/template Normal file
View File

@ -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 <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
}