wok-current annotate rdpdesk/receipt @ rev 24348
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 02 18:01:43 2022 +0000 (2022-02-02) |
parents | abe6b9e04ee5 |
children | 22bf62841f5c |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="rdpdesk" |
pascal@11227 | 4 VERSION="3.2" |
pascal@11227 | 5 CATEGORY="network" |
pascal@11227 | 6 SHORT_DESC="RDP, VNC & ICA client." |
pascal@11227 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL3" |
pascal@11227 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21799 | 10 WEB_SITE="https://web.archive.org/web/20120603061746/http://rdpdesk.com/" |
pascal@11227 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11227 | 12 |
al@18521 | 13 DEPENDS="wxWidgets28 xorg-libXp xorg-libXaw libssl" |
al@18521 | 14 BUILD_DEPENDS="wxWidgets28-dev xorg-imake jpeg-dev zlib-dev \ |
pascal@15616 | 15 openssl-dev xorg-libXp autoconf" |
pascal@11227 | 16 SUGGESTED="wfica rdesktop" |
pascal@11227 | 17 |
pascal@24348 | 18 # What is the latest version available today? |
pascal@24348 | 19 current_version() |
pascal@24348 | 20 { |
pascal@24348 | 21 wget -O - https://sourceforge.net/projects/rdpdesk/files/Releases/ 2>/dev/null | \ |
pascal@24348 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 23 sed '/scope="row/!d;s|.*/Releases/||;s|/.*||;q' |
pascal@24348 | 24 } |
pascal@24348 | 25 |
pascal@11227 | 26 # Rules to configure and make the package. |
pascal@11227 | 27 compile_rules() |
pascal@11227 | 28 { |
pascal@12668 | 29 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@12668 | 31 |
pascal@11227 | 32 cd $src |
pascal@12668 | 33 sed -i 's|glib/.*h|glib.h|' src/proto/*Connection_nix.hpp |
pascal@11227 | 34 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@11227 | 35 make && |
pascal@11227 | 36 make DESTDIR=$DESTDIR install |
pascal@11227 | 37 } |
pascal@11227 | 38 |
al@18521 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18521 | 40 genpkg_rules() |
pascal@11227 | 41 { |
pascal@15601 | 42 cp -a $install/usr $fs |
pascal@11227 | 43 } |