wok-next diff synergy/receipt @ rev 17381

Add incron
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 26 14:59:55 2014 +0100 (2014-11-26)
parents 6d307045afff
children dfe25744cfaf
line diff
     1.1 --- a/synergy/receipt	Mon Feb 14 23:41:06 2011 +0000
     1.2 +++ b/synergy/receipt	Wed Nov 26 14:59:55 2014 +0100
     1.3 @@ -5,9 +5,11 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="Synergy keyboard and mouse sharing."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
     1.9  WEB_SITE="http://synergy-foss.org"
    1.10  WGET_URL="http://synergy.googlecode.com/files/$TARBALL"
    1.11 +
    1.12  DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
    1.13  BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake"
    1.14  
    1.15 @@ -19,15 +21,15 @@
    1.16  	cmake -D CMAKE_INSTALL_PREFIX=/usr .
    1.17  	make
    1.18  	# install binary
    1.19 -	install -d "$PWD/_pkg/usr/bin/"
    1.20 -	install -Dm755 synergyc $PWD/_pkg/usr/bin/
    1.21 -	install -Dm755 synergys $PWD/_pkg/usr/bin/
    1.22 -	install -Dm644 examples/${PACKAGE}.conf "$PWD/_pkg/etc/${PACKAGE}.conf"
    1.23 +	install -d "$DESTDIR/usr/bin/"
    1.24 +	install -Dm755 synergyc $DESTDIR//usr/bin/
    1.25 +	install -Dm755 synergys $DESTDIR/usr/bin/
    1.26 +	install -Dm644 examples/${PACKAGE}.conf "$DESTDIR/etc/${PACKAGE}.conf"
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35  }