wok annotate remmina/receipt @ rev 24766

Try fuse2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 18:06:12 2022 +0000 (2022-03-18)
parents 15b2a2fdf54f
children 8ea0030e77cb
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@24082 21 current_version()
pascal@24082 22 {
pascal@24082 23 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
pascal@24082 24 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
pascal@24082 25 }
pascal@24082 26
pascal@8257 27 # Rules to configure and make the package.
pascal@8257 28 compile_rules()
pascal@8257 29 {
al@19230 30 # Here `sed -i '/external_tools/d' ...` because cmake (make install)
al@19230 31 # produce error trying to install "external tools" to
al@19230 32 # "$install/root/.remmina/external_tools/"
pascal@17670 33 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
pascal@13611 34 mkdir build
pascal@13611 35 cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \
pascal@13612 36 -DWITH_AVAHI=OFF &&
pascal@8257 37 make &&
al@19230 38 sed -i '/external_tools/d' $src/remmina/cmake_install.cmake &&
pascal@17772 39 make DESTDIR=$DESTDIR install
pascal@15287 40 cp -a remmina/include $DESTDIR/usr
pascal@8257 41 }
pascal@8257 42
pascal@8257 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@8257 44 genpkg_rules()
pascal@8257 45 {
pascal@13613 46 cp -a $install/* $fs
pascal@8257 47 }