wok-4.x view synergy/receipt @ rev 5813

c-client: fix tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 12 21:45:53 2010 +0200 (2010-07-12)
parents 8242068da94c
children 0b4cf0d9e1b5
line source
1 # SliTaz package receipt.
3 PACKAGE="synergy"
4 VERSION="1.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Synergy keyboard and mouse sharing."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://synergy2.sourceforge.net/"
10 WGET_URL="http://internap.dl.sourceforge.net/synergy2/$TARBALL"
11 DEPENDS="xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
12 BUILD_DEPENDS="xorg-dev-proto xorg-libXtst-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 busybox patch -p0 -i stuff/synergy-1.3.1_glibc-2.10.u || exit 1
19 cd $src
20 ./configure \
21 --sysconfdir=/etc \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --infodir=/usr/share/info \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 }