wok-next view remmina/receipt @ rev 14321

notecase: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 07 22:05:54 2013 +0200 (2013-04-07)
parents 749cbaae556a
children 205d192370e5
line source
1 # SliTaz package receipt.
3 PACKAGE="remmina"
4 SOURCE="Remmina"
5 VERSION="1.0.0"
6 CATEGORY="network"
7 SHORT_DESC="Remote desktop client written in GTK+"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="https://github.com/downloads/FreeRDP/$SOURCE/$TARBALL"
12 SUGGESTED="remmina-plugins"
13 TAGS="rdp vnc"
15 DEPENDS="gtk+ libgcrypt libssh vte freerdp"
16 BUILD_DEPENDS="gtk+-dev intltool wget cmake libgcrypt-dev libssh-dev vte-dev \
17 freerdp-dev libgnome-keyring-dev gettext"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
24 mkdir build
25 cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \
26 -DWITH_AVAHI=OFF &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }