46 lines
1.6 KiB
Text
46 lines
1.6 KiB
Text
# Template file for 'sed'
|
|
pkgname=synergy
|
|
version=1.3.6
|
|
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="mike rosset <mike.rosset@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 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() {
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr .
|
|
make ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
install -Dm755 synergyc $DESTDIR/usr/bin/synergyc
|
|
install -Dm755 synergys $DESTDIR/usr/bin/synergys
|
|
install -Dm644 examples/${pkgname}.conf "${DESTDIR}/etc/${pkgname}.conf"
|
|
}
|