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