wok-6.x view synergy/receipt @ rev 8780
Up: tazwok (4.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 22 16:32:27 2011 +0100 (2011-02-22) |
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 }