wok-6.x annotate synergy/receipt @ rev 2178
Add synergy (thanks Matthew)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 08 16:53:08 2009 +0000 (2009-02-08) |
parents | |
children | 8242068da94c |
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 { |
pascal@2178 | 17 cd $src |
pascal@2178 | 18 ./configure \ |
pascal@2178 | 19 --sysconfdir=/etc \ |
pascal@2178 | 20 --prefix=/usr \ |
pascal@2178 | 21 --mandir=/usr/share/man \ |
pascal@2178 | 22 --infodir=/usr/share/info \ |
pascal@2178 | 23 $CONFIGURE_ARGS && |
pascal@2178 | 24 make && |
pascal@2178 | 25 make DESTDIR=$PWD/_pkg install |
pascal@2178 | 26 } |
pascal@2178 | 27 |
pascal@2178 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2178 | 29 genpkg_rules() |
pascal@2178 | 30 { |
pascal@2178 | 31 mkdir -p $fs/usr |
pascal@2178 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@2178 | 33 } |