wok annotate rdesktop/receipt @ rev 25491

Up foomatic-db-nonfree (20221116)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 12:13:24 2022 +0000 (24 months ago)
parents 211f545ad84b
children 0262035dc1e7
rev   line source
pascal@63 1 # SliTaz package receipt.
pascal@63 2
pascal@63 3 PACKAGE="rdesktop"
pascal@24108 4 VERSION="1.9.0"
pankso@203 5 CATEGORY="network"
Hans-G?nter@21834 6 TAGS="rdp remote-desktop"
Hans-G?nter@21834 7 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server."
pascal@63 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14999 9 LICENSE="GPL3"
pascal@24894 10 WEB_SITE="http://www.rdesktop.org/"
Hans-G?nter@21834 11
pascal@63 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21834 13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@10451 14
Hans-G?nter@23612 15 DEPENDS="alsa-lib glibc-base libgnutls libao libcrypto libsamplerate libtasn1
Hans-G?nter@23610 16 nettle pcsc-lite xorg-libX11 xorg-libXau xorg-libXdmcp"
Hans-G?nter@23612 17 BUILD_DEPENDS="autoconf automake gnutls-dev libgnutls libtasn1-dev nettle-dev
Hans-G?nter@23610 18 openssl-dev pcsc-lite-dev xorg-dev"
pascal@63 19
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24055 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 24 }
pascal@24055 25
pascal@63 26 # Rules to configure and make the package.
pascal@63 27 compile_rules()
pascal@63 28 {
pascal@24110 29 patch -p1 < $stuff/02_use_correct_modulus_and_exponent.patch
Hans-G?nter@21834 30 ./bootstrap &&
Hans-G?nter@21834 31 ./configure \
Hans-G?nter@21834 32 --prefix=/usr \
Hans-G?nter@21834 33 --mandir=/usr/share/man \
Hans-G?nter@21834 34 --disable-credssp \
pascal@16416 35 $CONFIGURE_ARGS &&
pascal@2447 36 make &&
pascal@14999 37 make DESTDIR=$DESTDIR install
pascal@63 38 }
pascal@63 39
pascal@63 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@63 41 genpkg_rules()
pascal@63 42 {
Hans-G?nter@21834 43 mkdir -p $fs/usr/bin
Hans-G?nter@21834 44 mkdir -p $fs/usr/share/rdesktop/keymaps
Hans-G?nter@21834 45
pascal@14999 46 cp -a $install/usr/bin/rdesktop $fs/usr/bin
Hans-G?nter@21834 47 for i in common de en es fr it ja modifiers
Hans-G?nter@21834 48 do
pascal@14999 49 cp -a $install/usr/share/rdesktop/keymaps/$i* \
pascal@63 50 $fs/usr/share/rdesktop/keymaps
Hans-G?nter@21834 51 done
pascal@63 52 }