wok-next annotate freerdp/receipt @ rev 20876
tcpreplay: up (4.2.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 06 13:21:34 2018 +0300 (2018-07-06) |
parents | e6615350078d |
children | d2950281f122 |
rev | line source |
---|---|
al@20229 | 1 # SliTaz package receipt v2. |
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 |
al@20447 | 13 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev xorg-libxcb-dev xorg-dev \ |
al@20513 | 14 xorg-dev-proto 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" |
al@20453 | 31 DEPENDS="zlib libkrb5 openssl libcomerr cups alsa-lib xorg-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) |
al@20513 | 38 DEPENDS="fftw openssl-dev" |
pascal@20028 | 39 mkdir -p $fs/usr/lib/freerdp |
pascal@20028 | 40 cp -a $install/usr/include $fs/usr |
pascal@20028 | 41 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@20028 | 42 ;; |
pascal@20029 | 43 esac |
pascal@8256 | 44 } |