# SliTaz package receipt. PACKAGE="rdpdesk" VERSION="3.2" CATEGORY="network" SHORT_DESC="RDP, VNC & ICA client." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://web.archive.org/web/20120603061746/http://rdpdesk.com/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="wxWidgets28 xorg-libXp xorg-libXaw libssl" BUILD_DEPENDS="wxWidgets28-dev xorg-imake jpeg-dev zlib-dev \ openssl-dev xorg-libXp autoconf" SUGGESTED="wfica rdesktop" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/rdpdesk/files/Releases/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/Releases/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { # Binutils 2.22 break many packages build without LDFLAGS set correctly. export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" cd $src sed -i 's|glib/.*h|glib.h|' src/proto/*Connection_nix.hpp ./configure --prefix=/usr $CONFIGURE_ARGS # binutils 2.37 fix sed -i 's|ar clq|ar cq|' \ src/proto/vnc_unixsrc/*/Makefile* \ src/proto/vnc_unixsrc/Xvnc/config/util/crayar.sh make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }