wok view synergy/receipt @ rev 12088
busybox: su should not chdir (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:31:50 2012 +0100 (2012-03-10) |
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 }