# SliTaz package receipt. PACKAGE="rdesktop" VERSION="1.9.0" CATEGORY="network" TAGS="rdp remote-desktop" SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" WEB_SITE="http://www.rdesktop.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" DEPENDS="alsa-lib glibc-base libgnutls libao libcrypto libsamplerate libtasn1 nettle pcsc-lite xorg-libX11 xorg-libXau xorg-libXdmcp" BUILD_DEPENDS="autoconf automake gnutls-dev libgnutls libtasn1-dev nettle-dev openssl-dev pcsc-lite-dev xorg-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { patch -p1 < $stuff/02_use_correct_modulus_and_exponent.patch ./bootstrap && ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --disable-credssp \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin mkdir -p $fs/usr/share/rdesktop/keymaps cp -a $install/usr/bin/rdesktop $fs/usr/bin for i in common de en es fr it ja modifiers do cp -a $install/usr/share/rdesktop/keymaps/$i* \ $fs/usr/share/rdesktop/keymaps done }