wok-current view synergy/receipt @ rev 11240
Up: gcompris, goocanvas, pidgin
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Nov 06 20:29:05 2011 +0000 (2011-11-06) |
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 }