wok view rdesktop/receipt @ rev 24092

Up get-pcem-roms (2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 18 13:15:53 2021 +0000 (2021-07-18)
parents d8a0a0a06bad
children ad86373a4a8c
line source
1 # SliTaz package receipt.
3 PACKAGE="rdesktop"
4 VERSION="1.8.6"
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 ./bootstrap &&
30 ./configure \
31 --prefix=/usr \
32 --mandir=/usr/share/man \
33 --disable-credssp \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/bin
43 mkdir -p $fs/usr/share/rdesktop/keymaps
45 cp -a $install/usr/bin/rdesktop $fs/usr/bin
46 for i in common de en es fr it ja modifiers
47 do
48 cp -a $install/usr/share/rdesktop/keymaps/$i* \
49 $fs/usr/share/rdesktop/keymaps
50 done
51 }