SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "freerdp"

# SliTaz package receipt.

PACKAGE="freerdp"
VERSION="2.0.0-rc4"
CATEGORY="network"
SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="Apache"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://www.freerdp.com/"
WGET_URL="https://pub.freerdp.com/releases/$TARBALL"

DEPENDS="zlib libkrb5 libssl libcomerr cups alsa-lib libxcb xorg-libXcursor \
ffmpeg xorg-libXv pcsc-lite"
BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev libxcb-dev xorg-dev \
xorg-dev-proto wget cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev"
TAGS="rdp remote-desktop"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/freerdp $fs/usr/share
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)