wok-6.x view freerdp/receipt @ rev 20217

syslinux: rework post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 17:09:18 2018 +0100 (2018-02-25)
parents 91225efb1858
children 9820f9ae38d5
line source
1 # SliTaz package receipt.
3 PACKAGE="freerdp"
4 GITHASH="770c67d340d5f0a7b48d53a1ae0fc23aff748fc4" # 1.1-stable 12 mar 2015
5 VERSION=${GITHASH:0:7}
6 CATEGORY="network"
7 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="Apache"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="http://www.freerdp.com/"
12 WGET_URL="https://github.com/FreeRDP/FreeRDP/archive/$GITHASH.zip"
14 DEPENDS="zlib libkrb5 libssl libcomerr cups alsa-lib libxcb xorg-libXcursor \
15 ffmpeg xorg-libXv pcsc-lite"
16 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev libxcb-dev xorg-dev \
17 xorg-dev-proto wget cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev"
18 TAGS="rdp remote-desktop"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i -e 's|AVCODEC_MAX_AUDIO_FRAME_SIZE|192000|' \
24 -e 's/.*dsp_mask.*/av_set_cpu_flags_mask(AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_MMX2);/' \
25 channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
27 cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/freerdp $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }