wok-next annotate remmina/receipt @ rev 20861
gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 28 00:30:02 2018 +0300 (2018-06-28) |
parents | 3fc0b388dc50 |
children | f48456621a9d |
rev | line source |
---|---|
pascal@20299 | 1 # SliTaz package receipt v2. |
pascal@8257 | 2 |
pascal@8257 | 3 PACKAGE="remmina" |
pascal@20299 | 4 VERSION="1.2.0-rcgit.24" |
pascal@8257 | 5 CATEGORY="network" |
pascal@8257 | 6 SHORT_DESC="Remote desktop client written in GTK+" |
pascal@8257 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15068 | 8 LICENSE="GPL" |
pascal@20299 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@8257 | 10 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@20299 | 11 WGET_URL="https://github.com/FreeRDP/Remmina/archive/v$VERSION.tar.gz" |
pascal@17482 | 12 PROVIDE="remmina-plugins" |
pascal@17201 | 13 TAGS="rdp vnc nx xdmcp" |
pascal@13610 | 14 |
pascal@13613 | 15 DEPENDS="gtk+ libgcrypt libssh vte freerdp" |
al@20513 | 16 BUILD_DEPENDS="gtk+-dev intltool cmake libgcrypt-dev libssh-dev vte-dev \ |
pascal@20299 | 17 freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev \ |
pascal@20299 | 18 libappindicator-gtk3-dev xorg-libxkbfile-dev" |
pascal@20299 | 19 SPLIT="remmina-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@13611 | 27 mkdir build |
pascal@13611 | 28 cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \ |
pascal@13612 | 29 -DWITH_AVAHI=OFF && |
pascal@8257 | 30 make && |
al@19230 | 31 sed -i '/external_tools/d' $src/remmina/cmake_install.cmake && |
pascal@17772 | 32 make DESTDIR=$DESTDIR install |
pascal@15287 | 33 cp -a remmina/include $DESTDIR/usr |
pascal@8257 | 34 } |
pascal@8257 | 35 |
pascal@8257 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@8257 | 37 genpkg_rules() |
pascal@8257 | 38 { |
pascal@20299 | 39 case $PACKAGE in |
pascal@20299 | 40 remmina) |
pascal@20299 | 41 cp -a $install/* $fs |
pascal@20299 | 42 ;; |
pascal@20299 | 43 remmina-dev) |
pascal@20299 | 44 mkdir -p $fs/usr |
pascal@20299 | 45 cp -a $install/usr/include $fs/usr |
pascal@20299 | 46 ;; |
pascal@20299 | 47 esac |
pascal@8257 | 48 } |