25 lines
710 B
Bash
25 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
|
|
}
|