wok-6.x view remmina/receipt @ rev 19373

xarchive: add nanozip
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 14:08:33 2016 +0200 (2016-08-10)
parents 3bb8682381a4
children 4bae0fb81a17
line source
1 # SliTaz package receipt.
3 PACKAGE="remmina"
4 SOURCE="Remmina"
5 GITHASH="3a1aed9ce9e2e24a5f6ff82b106215db9a2587c1" # 15/07/2013
6 VERSION=${GITHASH:0:7}
7 CATEGORY="network"
8 SHORT_DESC="Remote desktop client written in GTK+"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="GPL"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WEB_SITE="http://$PACKAGE.sourceforge.net/"
13 WGET_URL="https://github.com/FreeRDP/$SOURCE/archive/$GITHASH.zip"
14 PROVIDE="remmina-plugins"
15 TAGS="rdp vnc nx xdmcp"
17 DEPENDS="gtk+ libgcrypt libssh vte freerdp"
18 BUILD_DEPENDS="gtk+-dev intltool wget cmake libgcrypt-dev libssh-dev vte-dev \
19 freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # Here `sed -i '/external_tools/d' ...` because cmake (make install)
25 # produce error trying to install "external tools" to
26 # "$install/root/.remmina/external_tools/"
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
28 mkdir build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \
30 -DWITH_AVAHI=OFF &&
31 make &&
32 sed -i '/external_tools/d' $src/remmina/cmake_install.cmake &&
33 make DESTDIR=$DESTDIR install
34 cp -a remmina/include $DESTDIR/usr
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }