wok-current view synergy/receipt @ rev 14948
Up: eeze-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:53 2013 +0200 (2013-08-08) |
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 }