wok-next annotate remmina/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents d43bf7aae921
children d5aab818505e
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@21017 9 WEB_SITE="http://$PACKAGE.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 \
pascal@20299 15 freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev \
pascal@20299 16 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@21017 32 make DESTDIR=$DESTDIR install || return 1
al@21017 33
pascal@15287 34 cp -a remmina/include $DESTDIR/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 }