wok view rdpdesk/receipt @ rev 24590
syslinux: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 14:39:39 2022 +0000 (2022-02-28) |
parents | abe6b9e04ee5 |
children | 22bf62841f5c |
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 &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/usr $fs
43 }