wok view rdpdesk/receipt @ rev 12679

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