wok diff synergy/receipt @ rev 10342

samba: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 03:01:05 2011 +0000 (2011-05-22)
parents 0b4cf0d9e1b5
children c4f226b02549
line diff
     1.1 --- a/synergy/receipt	Mon Feb 14 19:09:46 2011 +0100
     1.2 +++ b/synergy/receipt	Sun May 22 03:01:05 2011 +0000
     1.3 @@ -1,30 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="synergy"
     1.7 -VERSION="1.3.1"
     1.8 +VERSION="1.3.6"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Synergy keyboard and mouse sharing."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://synergy2.sourceforge.net/"
    1.14 -WGET_URL="http://internap.dl.sourceforge.net/synergy2/$TARBALL"
    1.15 -DEPENDS="xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
    1.16 -BUILD_DEPENDS="xorg-dev-proto xorg-libXtst-dev"
    1.17 +TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
    1.18 +WEB_SITE="http://synergy-foss.org"
    1.19 +WGET_URL="http://synergy.googlecode.com/files/$TARBALL"
    1.20 +DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base"
    1.21 +BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 -{
    1.26 -	busybox patch -p0 -i stuff/synergy-1.3.1_glibc-2.10.u || return 1
    1.27 -		
    1.28 +{		
    1.29  	cd $src
    1.30 -	./configure \
    1.31 -		--sysconfdir=/etc \
    1.32 -		--prefix=/usr \
    1.33 -		--mandir=/usr/share/man \
    1.34 -		--infodir=/usr/share/info \
    1.35 -		$CONFIGURE_ARGS &&
    1.36 -	make &&
    1.37 -	make DESTDIR=$PWD/_pkg install
    1.38 +	
    1.39 +	cmake -D CMAKE_INSTALL_PREFIX=/usr .
    1.40 +	make
    1.41 +	# install binary
    1.42 +	install -d "$PWD/_pkg/usr/bin/"
    1.43 +	install -Dm755 synergyc $PWD/_pkg/usr/bin/
    1.44 +	install -Dm755 synergys $PWD/_pkg/usr/bin/
    1.45 +	install -Dm644 examples/${PACKAGE}.conf "$PWD/_pkg/etc/${PACKAGE}.conf"
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.