wok-current view rdpdesk/receipt @ rev 25441

Up chkrootkit (0.55)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 10:24:23 2022 +0000 (2022-09-02)
parents e919c5a2742d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rdpdesk"
4 VERSION="3.2"
5 CATEGORY="network"
6 SHORT_DESC="RDP, VNC & ICA client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20120603061746/http://rdpdesk.com/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="wxWidgets28 xorg-libXp xorg-libXaw libssl"
14 BUILD_DEPENDS="wxWidgets28-dev xorg-imake jpeg-dev zlib-dev \
15 openssl-dev xorg-libXp autoconf"
16 SUGGESTED="wfica rdesktop"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/rdpdesk/files/Releases/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/Releases/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
32 cd $src
33 sed -i 's|glib/.*h|glib.h|' src/proto/*Connection_nix.hpp
34 ./configure --prefix=/usr $CONFIGURE_ARGS
36 # binutils 2.37 fix
37 sed -i 's|ar clq|ar cq|' \
38 src/proto/vnc_unixsrc/*/Makefile* \
39 src/proto/vnc_unixsrc/Xvnc/config/util/crayar.sh
41 make &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 cp -a $install/usr $fs
49 }