wok-next diff 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 |
line diff
1.1 --- a/remmina/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/remmina/receipt Tue Oct 16 16:46:05 2018 +0300 1.3 @@ -6,43 +6,44 @@ 1.4 SHORT_DESC="Remote desktop client written in GTK+" 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="GPL" 1.7 +WEB_SITE="http://$PACKAGE.sourceforge.net/" 1.8 + 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 -WEB_SITE="http://$PACKAGE.sourceforge.net/" 1.11 WGET_URL="https://github.com/FreeRDP/Remmina/archive/v$VERSION.tar.gz" 1.12 -PROVIDE="remmina-plugins" 1.13 -TAGS="rdp vnc nx xdmcp" 1.14 1.15 -DEPENDS="gtk+ libgcrypt libssh vte freerdp" 1.16 -BUILD_DEPENDS="gtk+-dev intltool cmake libgcrypt-dev libssh-dev vte-dev \ 1.17 +BUILD_DEPENDS="gtk2-dev intltool cmake libgcrypt-dev libssh-dev vte-dev \ 1.18 freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev \ 1.19 libappindicator-gtk3-dev xorg-libxkbfile-dev" 1.20 -SPLIT="remmina-dev" 1.21 +SPLIT="$PACKAGE-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 # Here `sed -i '/external_tools/d' ...` because cmake (make install) 1.28 # produce error trying to install "external tools" to 1.29 # "$install/root/.remmina/external_tools/" 1.30 mkdir build 1.31 - cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \ 1.32 + 1.33 + cmake \ 1.34 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.35 + -DWITH_TELEPATHY=OFF \ 1.36 -DWITH_AVAHI=OFF && 1.37 - make && 1.38 - sed -i '/external_tools/d' $src/remmina/cmake_install.cmake && 1.39 - make DESTDIR=$DESTDIR install 1.40 + make || return 1 1.41 + 1.42 + sed -i '/external_tools/d' $src/remmina/cmake_install.cmake 1.43 + make DESTDIR=$DESTDIR install || return 1 1.44 + 1.45 cp -a remmina/include $DESTDIR/usr 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 +genpkg_rules() { 1.52 case $PACKAGE in 1.53 - remmina) 1.54 - cp -a $install/* $fs 1.55 - ;; 1.56 - remmina-dev) 1.57 - mkdir -p $fs/usr 1.58 - cp -a $install/usr/include $fs/usr 1.59 - ;; 1.60 + remmina) 1.61 + copy @std 1.62 + DEPENDS="gtk2 libgcrypt libssh vte freerdp" 1.63 + PROVIDE="remmina-plugins" 1.64 + TAGS="rdp vnc nx xdmcp" 1.65 + ;; 1.66 + *-dev) 1.67 + copy @dev 1.68 + ;; 1.69 esac 1.70 }