wok-next annotate remmina/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5ffe59e2de3a
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"
al@21020 9 WEB_SITE="http://remmina.sourceforge.net/"
al@21017 10
pascal@20299 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20299 12 WGET_URL="https://github.com/FreeRDP/Remmina/archive/v$VERSION.tar.gz"
pascal@13610 13
al@21017 14 BUILD_DEPENDS="gtk2-dev intltool cmake libgcrypt-dev libssh-dev vte-dev \
al@21020 15 freerdp-dev libvncserver-dev libgnome-keyring-dev gettext-dev \
al@21020 16 telepathy-glib-dev libappindicator-gtk3-dev xorg-libxkbfile-dev"
al@21017 17 SPLIT="$PACKAGE-dev"
pascal@8257 18
al@21017 19 compile_rules() {
al@19230 20 # Here `sed -i '/external_tools/d' ...` because cmake (make install)
al@19230 21 # produce error trying to install "external tools" to
al@19230 22 # "$install/root/.remmina/external_tools/"
pascal@13611 23 mkdir build
al@21017 24
al@21017 25 cmake \
al@21017 26 -DCMAKE_INSTALL_PREFIX=/usr \
al@21017 27 -DWITH_TELEPATHY=OFF \
pascal@13612 28 -DWITH_AVAHI=OFF &&
al@21017 29 make || return 1
al@21017 30
al@21017 31 sed -i '/external_tools/d' $src/remmina/cmake_install.cmake
al@21020 32 make DESTDIR=$install install || return 1
al@21017 33
al@21020 34 cp -a remmina/include $install/usr
pascal@8257 35 }
pascal@8257 36
al@21017 37 genpkg_rules() {
pascal@20299 38 case $PACKAGE in
al@21017 39 remmina)
al@21017 40 copy @std
al@21017 41 DEPENDS="gtk2 libgcrypt libssh vte freerdp"
al@21017 42 PROVIDE="remmina-plugins"
al@21017 43 TAGS="rdp vnc nx xdmcp"
al@21017 44 ;;
al@21017 45 *-dev)
al@21017 46 copy @dev
al@21017 47 ;;
pascal@20299 48 esac
pascal@8257 49 }