void-packages/srcpkgs/synergy/template

46 lines
1.4 KiB
Plaintext

# Template file for 'sed'
pkgname=synergy
version=1.3.6
revision=1
wrksrc=${pkgname}-${version}-Source
distfiles="http://synergy.googlecode.com/files/$pkgname-$version-Source.tar.gz"
build_style=custom-install
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 run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run libX11
Add_dependency run libXtst
Add_dependency run libXext
Add_dependency run libXinerama
Add_dependency build cmake
Add_dependency build libXtst-devel
Add_dependency build libXext-devel
Add_dependency build libXinerama-devel
do_build() {
cmake -D CMAKE_INSTALL_PREFIX=/usr .
make ${makejobs}
}
do_install() {
vinstall synergyc 755 usr/bin
vinstall synergys 755 usr/bin
vinstall examples/${pkgname}.conf 644 etc
}