void-packages/srcpkgs/synergy/template

42 lines
1.3 KiB
Plaintext
Raw Normal View History

# Template file for 'sed'
pkgname=synergy
2012-08-14 17:12:02 +02:00
version=1.4.10
2012-08-10 07:22:05 +02:00
revision=1
wrksrc=${pkgname}-${version}-Source
2012-08-10 07:22:05 +02:00
makedepends="cmake libSM-devel libICE-devel libXext-devel
libXtst-devel>=1.2.1_2 libXinerama-devel"
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"
2012-08-10 07:22:05 +02:00
distfiles="http://synergy.googlecode.com/files/$pkgname-$version-Source.tar.gz"
2012-08-14 17:12:02 +02:00
checksum=06d5a2ceb4cf8808cdab22441897c7b54ec8b4bc8351ac116f9accf54c720fbe
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)."
do_build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make ${makejobs}
}
do_install() {
2012-08-10 07:22:05 +02:00
vinstall bin/synergyc 755 usr/bin
vinstall bin/synergys 755 usr/bin
vmkdir usr/share/examples/${pkgname}
install -m644 doc/synergy.conf.example* \
${DESTDIR}/usr/share/examples/${pkgname}
}
synergy_package() {
conf_files="/etc/synergy.conf"
pkg_install() {
vmove etc
vmove usr
}
}