wok annotate freerdp/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 9820f9ae38d5
children
rev   line source
pascal@8256 1 # SliTaz package receipt.
pascal@8256 2
pascal@8256 3 PACKAGE="freerdp"
pascal@21242 4 VERSION="2.0.0-rc4"
pascal@8256 5 CATEGORY="network"
pascal@8256 6 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server"
pascal@8256 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15215 8 LICENSE="Apache"
pascal@21242 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21242 10 WEB_SITE="https://www.freerdp.com/"
pascal@21242 11 WGET_URL="https://pub.freerdp.com/releases/$TARBALL"
pascal@15215 12
pascal@13310 13 DEPENDS="zlib libkrb5 libssl libcomerr cups alsa-lib libxcb xorg-libXcursor \
pascal@13313 14 ffmpeg xorg-libXv pcsc-lite"
pascal@13310 15 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev libxcb-dev xorg-dev \
pascal@13313 16 xorg-dev-proto wget cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev"
pascal@8256 17 TAGS="rdp remote-desktop"
pascal@8256 18
pascal@24439 19 # What is the latest version available today?
pascal@24439 20 current_version()
pascal@24439 21 {
pascal@24439 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24439 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24439 24 }
pascal@24439 25
pascal@8256 26 # Rules to configure and make the package.
pascal@8256 27 compile_rules()
pascal@8256 28 {
pascal@13313 29 cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . &&
pascal@8256 30 make &&
pascal@13310 31 make DESTDIR=$DESTDIR install
pascal@8256 32 }
pascal@8256 33
pascal@8256 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@8256 35 genpkg_rules()
pascal@8256 36 {
pascal@8256 37 mkdir -p $fs/usr/lib/freerdp $fs/usr/share
pascal@13310 38 cp -a $install/usr/bin $fs/usr
pascal@13310 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@8256 40 }