wok view remmina/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
parents | 15b2a2fdf54f |
children | 8ea0030e77cb |
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="http://$PACKAGE.sourceforge.net/"
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 }