wok-6.x view rdesktop/receipt @ rev 24110
rdesktop: add debian patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 10:48:56 2021 +0000 (2021-09-28) |
parents | ad86373a4a8c |
children | 870e1ce31226 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rdesktop"
4 VERSION="1.9.0"
5 CATEGORY="network"
6 TAGS="rdp remote-desktop"
7 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.rdesktop.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
15 DEPENDS="alsa-lib glibc-base libgnutls libao libcrypto libsamplerate libtasn1
16 nettle pcsc-lite xorg-libX11 xorg-libXau xorg-libXdmcp"
17 BUILD_DEPENDS="autoconf automake gnutls-dev libgnutls libtasn1-dev nettle-dev
18 openssl-dev pcsc-lite-dev xorg-dev"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 patch -p1 < $stuff/02_use_correct_modulus_and_exponent.patch
30 ./bootstrap &&
31 ./configure \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 --disable-credssp \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/bin
44 mkdir -p $fs/usr/share/rdesktop/keymaps
46 cp -a $install/usr/bin/rdesktop $fs/usr/bin
47 for i in common de en es fr it ja modifiers
48 do
49 cp -a $install/usr/share/rdesktop/keymaps/$i* \
50 $fs/usr/share/rdesktop/keymaps
51 done
52 }