wok view rdesktop/receipt @ rev 25710
typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 25 12:42:06 2024 +0000 (7 weeks ago) |
parents | 870e1ce31226 |
children |
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="http://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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 patch -p1 < $stuff/02_use_correct_modulus_and_exponent.patch
31 ./bootstrap &&
32 ./configure \
33 --prefix=/usr \
34 --mandir=/usr/share/man \
35 --disable-credssp \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/bin
45 mkdir -p $fs/usr/share/rdesktop/keymaps
47 cp -a $install/usr/bin/rdesktop $fs/usr/bin
48 for i in common de en es fr it ja modifiers
49 do
50 cp -a $install/usr/share/rdesktop/keymaps/$i* \
51 $fs/usr/share/rdesktop/keymaps
52 done
53 }