wok-6.x annotate rdesktop/receipt @ rev 24108
Up rdesktop (1.9.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 08:31:51 2021 +0000 (2021-09-28) |
parents | 5ea0ce1cecc0 |
children | 211f545ad84b |
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" |
Hans-G?nter@21834 | 10 WEB_SITE="https://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 { |
Hans-G?nter@21834 | 29 ./bootstrap && |
Hans-G?nter@21834 | 30 ./configure \ |
Hans-G?nter@21834 | 31 --prefix=/usr \ |
Hans-G?nter@21834 | 32 --mandir=/usr/share/man \ |
Hans-G?nter@21834 | 33 --disable-credssp \ |
pascal@16416 | 34 $CONFIGURE_ARGS && |
pascal@2447 | 35 make && |
pascal@14999 | 36 make DESTDIR=$DESTDIR install |
pascal@63 | 37 } |
pascal@63 | 38 |
pascal@63 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@63 | 40 genpkg_rules() |
pascal@63 | 41 { |
Hans-G?nter@21834 | 42 mkdir -p $fs/usr/bin |
Hans-G?nter@21834 | 43 mkdir -p $fs/usr/share/rdesktop/keymaps |
Hans-G?nter@21834 | 44 |
pascal@14999 | 45 cp -a $install/usr/bin/rdesktop $fs/usr/bin |
Hans-G?nter@21834 | 46 for i in common de en es fr it ja modifiers |
Hans-G?nter@21834 | 47 do |
pascal@14999 | 48 cp -a $install/usr/share/rdesktop/keymaps/$i* \ |
pascal@63 | 49 $fs/usr/share/rdesktop/keymaps |
Hans-G?nter@21834 | 50 done |
pascal@63 | 51 } |