wok view remmina/receipt @ rev 25760

created recipes for thunar-archive-plugin-lang and thunar-volman-lang
author Hans-G?nter Theisgen
date Sun Sep 01 15:08:01 2024 +0100 (2 months ago)
parents 4bae0fb81a17
children 37815cc03603
line source
1 # SliTaz package receipt.
3 PACKAGE="remmina"
4 SOURCE="Remmina"
5 GITHASH="3a1aed9ce9e2e24a5f6ff82b106215db9a2587c1" # 15/07/2013
6 VERSION=${GITHASH:0:7}
7 CATEGORY="network"
8 SHORT_DESC="Remote desktop client written in GTK+"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="GPL"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WEB_SITE="https://remmina.org/"
13 WGET_URL="https://github.com/FreeRDP/$SOURCE/archive/$GITHASH.zip"
14 PROVIDE="remmina-plugins"
15 TAGS="rdp vnc nx xdmcp"
17 DEPENDS="gtk+ libgcrypt libssh vte freerdp"
18 BUILD_DEPENDS="gtk+-dev intltool wget cmake libgcrypt-dev libssh-dev vte-dev \
19 freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
24 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # Here `sed -i '/external_tools/d' ...` because cmake (make install)
31 # produce error trying to install "external tools" to
32 # "$install/root/.remmina/external_tools/"
33 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
34 mkdir build
35 cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \
36 -DWITH_AVAHI=OFF &&
37 make &&
38 sed -i '/external_tools/d' $src/remmina/cmake_install.cmake &&
39 make DESTDIR=$DESTDIR install
40 cp -a remmina/include $DESTDIR/usr
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cp -a $install/* $fs
47 }