2011-06-19 15:33:05 +00:00
|
|
|
# Template file for 'sed'
|
|
|
|
pkgname=synergy
|
|
|
|
version=1.3.6
|
2011-06-19 17:34:59 +00:00
|
|
|
wrksrc=${pkgname}-${version}-Source
|
2011-06-19 15:33:05 +00:00
|
|
|
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="mike rosset <mike.rosset@gmail.com>"
|
|
|
|
checksum=b136fcd2795837c5c56050c32ab32e7305a84fd4ac8f3dd6458d3abc18179162
|
2011-06-19 17:34:59 +00:00
|
|
|
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)."
|
2011-06-19 15:33:05 +00:00
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run libXtst
|
|
|
|
Add_dependency run libXext
|
|
|
|
Add_dependency run libXinerama
|
|
|
|
Add_dependency run libstdc++
|
|
|
|
Add_dependency run libgcc
|
|
|
|
|
|
|
|
Add_dependency build glibc-devel
|
|
|
|
Add_dependency build libX11-devel
|
|
|
|
Add_dependency build libXtst-devel
|
|
|
|
Add_dependency build libXext-devel
|
|
|
|
Add_dependency build libXinerama-devel
|
|
|
|
Add_dependency build libstdc++-devel
|
|
|
|
|
|
|
|
do_build() {
|
2011-06-19 17:34:59 +00:00
|
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr .
|
|
|
|
make ${makejobs}
|
2011-06-19 15:33:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2011-06-19 17:34:59 +00:00
|
|
|
install -Dm755 synergyc $DESTDIR/usr/bin/synergyc
|
|
|
|
install -Dm755 synergys $DESTDIR/usr/bin/synergys
|
|
|
|
install -Dm644 examples/${pkgname}.conf "${DESTDIR}/etc/${pkgname}.conf"
|
2011-06-19 15:33:05 +00:00
|
|
|
}
|