wok annotate rdpdesk/receipt @ rev 12827
linux (x86_64) add AoE, NBD & DRBD
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 22 13:41:58 2012 +0200 (2012-05-22) |
parents | 532ab3b57d40 |
children | 23c3aed67cd9 |
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@11227 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11227 | 9 WEB_SITE="http://rdpdesk.com/" |
pascal@11227 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11227 | 11 |
pascal@11227 | 12 DEPENDS="wxWidgets xorg-libXp xorg-libXaw libssl" |
pascal@11227 | 13 BUILD_DEPENDS="wxWidgets-dev xorg-imake jpeg-dev zlib-dev \ |
pascal@11227 | 14 openssl-dev xorg-libXp" |
pascal@11227 | 15 SUGGESTED="wfica rdesktop" |
pascal@11227 | 16 |
pascal@11227 | 17 # Rules to configure and make the package. |
pascal@11227 | 18 compile_rules() |
pascal@11227 | 19 { |
pascal@12668 | 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12668 | 21 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@12668 | 22 |
pascal@11227 | 23 cd $src |
pascal@12668 | 24 sed -i 's|glib/.*h|glib.h|' src/proto/*Connection_nix.hpp |
pascal@11227 | 25 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@11227 | 26 make && |
pascal@11227 | 27 make DESTDIR=$DESTDIR install |
pascal@11227 | 28 } |
pascal@11227 | 29 |
pascal@11227 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 31 genpkg_rules() |
pascal@11227 | 32 { |
pascal@11227 | 33 cp -a $_pkg/usr $fs |
pascal@11227 | 34 } |