synergy: indent, improve $long_desc, use $makejobs.

This commit is contained in:
Juan RP 2011-06-19 19:34:59 +02:00
parent 3659475b73
commit e4c2dc6b57

View file

@ -1,14 +1,19 @@
# 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="mike rosset <mike.rosset@gmail.com>"
checksum=b136fcd2795837c5c56050c32ab32e7305a84fd4ac8f3dd6458d3abc18179162
long_desc="Share a single mouse and keyboard between multiple computers"
wrksrc=${pkgname}-${version}-Source
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)."
Add_dependency run glibc
Add_dependency run libX11
@ -26,12 +31,12 @@ Add_dependency build libXinerama-devel
Add_dependency build libstdc++-devel
do_build() {
cmake -D CMAKE_INSTALL_PREFIX=/usr .
make
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"
install -Dm755 synergyc $DESTDIR/usr/bin/synergyc
install -Dm755 synergys $DESTDIR/usr/bin/synergys
install -Dm644 examples/${pkgname}.conf "${DESTDIR}/etc/${pkgname}.conf"
}