wok-next rev 13611

remmina: use cmake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 12 18:30:37 2012 +0100 (2012-11-12)
parents 45d76459585c
children 749cbaae556a
files remmina/receipt
line diff
     1.1 --- a/remmina/receipt	Mon Nov 12 17:45:50 2012 +0100
     1.2 +++ b/remmina/receipt	Mon Nov 12 18:30:37 2012 +0100
     1.3 @@ -1,26 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="remmina"
     1.7 +SOURCE="Remmina"
     1.8  VERSION="1.0.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Remote desktop client written in GTK+"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13  WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.14 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +WGET_URL="https://github.com/downloads/FreeRDP/$SOURCE/$TARBALL"
    1.16  SUGGESTED="remmina-plugins"
    1.17  TAGS="rdp vnc"
    1.18  
    1.19  DEPENDS="gtk+"
    1.20 -BUILD_DEPENDS="gtk+-dev intltool"
    1.21 +BUILD_DEPENDS="gtk+-dev intltool wget cmake libgcrypt-dev libssh-dev vte-dev \
    1.22 +freerdp-dev libgnome-keyring-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27  	cd $src
    1.28  	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
    1.29 -	./configure --prefix=/usr \
    1.30 -	$CONFIGURE_ARGS &&
    1.31 +	mkdir build
    1.32 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \
    1.33 +		-DWITH_GETTEXT=OFF -DWITH_AVAHI=OFF &&
    1.34  	make &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36  }