wok-current view synergy/receipt @ rev 10808

xorg-server*: up to 1.9.5 for bug fixes and --enable-kdrive so you build Xfbdev
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 05 01:00:43 2011 +0200 (2011-06-05)
parents 0b4cf0d9e1b5
children c4f226b02549
line source
1 # SliTaz package receipt.
3 PACKAGE="synergy"
4 VERSION="1.3.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Synergy keyboard and mouse sharing."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
9 WEB_SITE="http://synergy-foss.org"
10 WGET_URL="http://synergy.googlecode.com/files/$TARBALL"
11 DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
12 BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 cmake -D CMAKE_INSTALL_PREFIX=/usr .
20 make
21 # install binary
22 install -d "$PWD/_pkg/usr/bin/"
23 install -Dm755 synergyc $PWD/_pkg/usr/bin/
24 install -Dm755 synergys $PWD/_pkg/usr/bin/
25 install -Dm644 examples/${PACKAGE}.conf "$PWD/_pkg/etc/${PACKAGE}.conf"
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 }