void-packages/srcpkgs/synergy/template

36 lines
1.2 KiB
Text

# Template file for 'sed'
pkgname=synergy
version=1.3.6
revision=2
wrksrc=${pkgname}-${version}-Source
distfiles="http://synergy.googlecode.com/files/$pkgname-$version-Source.tar.gz"
short_desc="Share a single mouse and keyboard between multiple computers"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://synergy-foss.org/"
license="GPL-2"
checksum=b136fcd2795837c5c56050c32ab32e7305a84fd4ac8f3dd6458d3abc18179162
long_desc="
Synergy is Free and Open Source Software that lets you easily share your
mouse and keyboard between multiple computers, where each computer has its
own display. No special hardware is required, all you need is a local area
network. Synergy is supported on Windows, Mac OS X and Linux. Redirecting
the mouse and keyboard is as simple as moving the mouse off the edge of your
screen. Synergy is released under the GNU Public License (GPL)."
conf_files="/etc/${pkgname}.conf"
Add_dependency build cmake
Add_dependency build libXtst-devel
Add_dependency build libXext-devel
Add_dependency build libXinerama-devel
do_build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make ${makejobs}
}
do_install() {
vinstall synergyc 755 usr/bin
vinstall synergys 755 usr/bin
vinstall examples/${pkgname}.conf 644 etc
}