wok-next annotate freerdp/receipt @ rev 20137

mariadb: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 21:42:04 2017 +0100 (2017-10-31)
parents 7a12605a5186
children c37d2f8310e0
rev   line source
pascal@8256 1 # SliTaz package receipt.
pascal@8256 2
pascal@8256 3 PACKAGE="freerdp"
pascal@20028 4 VERSION="2.0.0-rc0"
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@17768 9 TARBALL="$PACKAGE-$VERSION.zip"
pascal@8256 10 WEB_SITE="http://www.freerdp.com/"
pascal@20028 11 WGET_URL="https://github.com/FreeRDP/FreeRDP/archive/$VERSION.zip"
pascal@15215 12
pascal@13310 13 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev libxcb-dev xorg-dev \
pascal@13313 14 xorg-dev-proto wget cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev"
pascal@20028 15 SPLIT="freerdp freerdp-dev"
pascal@8256 16
pascal@8256 17 # Rules to configure and make the package.
pascal@8256 18 compile_rules()
pascal@8256 19 {
pascal@13313 20 cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . &&
pascal@8256 21 make &&
pascal@13310 22 make DESTDIR=$DESTDIR install
pascal@8256 23 }
pascal@8256 24
pascal@8256 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@8256 26 genpkg_rules()
pascal@8256 27 {
pascal@20028 28 case $PACKAGE in
pascal@20028 29 freerdp)
pascal@20028 30 TAGS="rdp remote-desktop"
pascal@20028 31 DEPENDS="zlib libkrb5 libssl libcomerr cups alsa-lib libxcb \
pascal@20028 32 xorg-libXcursor ffmpeg xorg-libXv pcsc-lite"
pascal@20028 33 mkdir -p $fs/usr/lib/freerdp $fs/usr/share
pascal@20028 34 cp -a $install/usr/bin $fs/usr
pascal@20028 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20028 36 ;;
pascal@20028 37 freerdp-dev)
pascal@20028 38 CAT="development|freerdp development files"
pascal@20028 39 DEPENDS="fftw pkg-config"
pascal@20028 40 mkdir -p $fs/usr/lib/freerdp
pascal@20028 41 cp -a $install/usr/include $fs/usr
pascal@20028 42 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@20028 43 ;;
pascal@20029 44 esac
pascal@8256 45 }