rev |
line source |
pascal@2178
|
1 # SliTaz package receipt.
|
pascal@2178
|
2
|
pascal@2178
|
3 PACKAGE="synergy"
|
pascal@2178
|
4 VERSION="1.3.1"
|
pascal@2178
|
5 CATEGORY="x-window"
|
pascal@2178
|
6 SHORT_DESC="Synergy keyboard and mouse sharing."
|
pascal@2178
|
7 MAINTAINER="rcx@zoominternet.net"
|
pascal@2178
|
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pascal@2178
|
9 WEB_SITE="http://synergy2.sourceforge.net/"
|
pascal@2178
|
10 WGET_URL="http://internap.dl.sourceforge.net/synergy2/$TARBALL"
|
pascal@2178
|
11 DEPENDS="xorg-libXtst"
|
pascal@2178
|
12 BUILD_DEPENDS="xorg-dev-proto xorg-libXtst-dev"
|
pascal@2178
|
13
|
pascal@2178
|
14 # Rules to configure and make the package.
|
pascal@2178
|
15 compile_rules()
|
pascal@2178
|
16 {
|
erjo@4295
|
17 busybox patch -p0 -i stuff/synergy-1.3.1_glibc-2.10.u || exit 1
|
erjo@4295
|
18
|
pascal@2178
|
19 cd $src
|
pascal@2178
|
20 ./configure \
|
pascal@2178
|
21 --sysconfdir=/etc \
|
pascal@2178
|
22 --prefix=/usr \
|
pascal@2178
|
23 --mandir=/usr/share/man \
|
pascal@2178
|
24 --infodir=/usr/share/info \
|
pascal@2178
|
25 $CONFIGURE_ARGS &&
|
pascal@2178
|
26 make &&
|
pascal@2178
|
27 make DESTDIR=$PWD/_pkg install
|
pascal@2178
|
28 }
|
pascal@2178
|
29
|
pascal@2178
|
30 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pascal@2178
|
31 genpkg_rules()
|
pascal@2178
|
32 {
|
pascal@2178
|
33 mkdir -p $fs/usr
|
pascal@2178
|
34 cp -a $_pkg/usr/bin $fs/usr
|
pascal@2178
|
35 }
|