wok-current view rdesktop/receipt @ rev 15185

linux-source: add mirror src fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 23 18:59:48 2013 +0000 (2013-08-23)
parents 85aa80cd4038
children 664fcbab914e
line source
1 # SliTaz package receipt.
3 PACKAGE="rdesktop"
4 VERSION="1.7.0"
5 CATEGORY="network"
6 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://rdesktop.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="rdp remote-desktop"
14 DEPENDS="libcrypto xorg-libX11 glibc-base xorg-libXau xorg-libXdmcp \
15 alsa-lib libsamplerate libao"
16 BUILD_DEPENDS="openssl-dev xorg-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/share/rdesktop/keymaps
32 cp -a $install/usr/bin/rdesktop $fs/usr/bin
33 for i in fr de en es it ja common modifiers; do
34 cp -a $install/usr/share/rdesktop/keymaps/$i* \
35 $fs/usr/share/rdesktop/keymaps
36 done
37 }