wok-6.x view synergy/receipt @ rev 19357
Up p7zip (16.02)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 10:07:40 2016 +0200 (2016-07-30) |
parents | 6d307045afff |
children | 7c0170dd3ecc |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
10 WEB_SITE="http://synergy-foss.org"
11 WGET_URL="http://synergy.googlecode.com/files/$TARBALL"
13 DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
14 BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 cmake -D CMAKE_INSTALL_PREFIX=/usr .
22 make
23 # install binary
24 install -d "$DESTDIR/usr/bin/"
25 install -Dm755 synergyc $DESTDIR//usr/bin/
26 install -Dm755 synergys $DESTDIR/usr/bin/
27 install -Dm644 examples/${PACKAGE}.conf "$DESTDIR/etc/${PACKAGE}.conf"
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }