void-packages/srcpkgs/synergy/template

38 lines
1.1 KiB
Text
Raw Normal View History

# Template file for 'sed'
pkgname=synergy
version=1.3.6
revision=1
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
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
}
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"
}