void-packages/srcpkgs/synergy/template

56 lines
1.6 KiB
Text
Raw Normal View History

# Template file for 'sed'
pkgname=synergy
2013-06-06 05:50:37 +00:00
version=1.4.12
2012-08-10 05:22:05 +00:00
revision=1
wrksrc=${pkgname}-${version}-Source
2013-06-06 05:50:37 +00:00
hostmakedepends="cmake unzip"
makedepends="qt-devel libSM-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 05:22:05 +00:00
distfiles="http://synergy.googlecode.com/files/$pkgname-$version-Source.tar.gz"
2013-06-06 05:50:37 +00:00
checksum=35b60c8d73368a0cb90daa629e64f66171b934a799a82427431979cca7260849
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() {
2013-06-06 05:50:37 +00:00
unset LDFLAGS
# Unzip the crypto library
unzip -d tools/cryptopp562 tools/cryptopp562.zip
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make ${makejobs}
2013-06-06 05:50:37 +00:00
# qt4 gui
cd src/gui
qmake
make ${makejobs}
}
do_install() {
2013-06-06 05:50:37 +00:00
vinstall bin/synergy 755 usr/bin
2012-08-10 05:22:05 +00:00
vinstall bin/synergyc 755 usr/bin
vinstall bin/synergys 755 usr/bin
2013-06-06 05:50:37 +00:00
2012-08-10 05:22:05 +00:00
vmkdir usr/share/examples/${pkgname}
install -m644 doc/synergy.conf.example* \
${DESTDIR}/usr/share/examples/${pkgname}
2013-06-06 05:50:37 +00:00
vinstall ${FILESDIR}/synergy.png 644 usr/share/pixmaps
vinstall ${FILESDIR}/synergy.desktop 644 usr/share/applications
}
synergy_package() {
2013-06-06 05:50:37 +00:00
depends="desktop-file-utils"
pkg_install() {
2013-06-06 05:50:37 +00:00
vmove all
}
}