wok-next view freerdp/receipt @ rev 16652
blazekiss: fix tarball
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 13 14:15:55 2014 +0000 (2014-05-13) |
parents | 7bb096863642 |
children | 4d24d6167d12 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freerdp"
4 VERSION="1.1.0-beta+2013071101"
5 CATEGORY="network"
6 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freerdp.com/"
11 WGET_URL="https://github.com/FreeRDP/FreeRDP/archive/$VERSION.tar.gz"
13 DEPENDS="zlib libkrb5 libssl libcomerr cups alsa-lib libxcb xorg-libXcursor \
14 ffmpeg xorg-libXv pcsc-lite"
15 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev libxcb-dev xorg-dev \
16 xorg-dev-proto wget cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev"
17 TAGS="rdp remote-desktop"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i -e 's|CodecID|AV&|' -e 's|AVCODEC_MAX_AUDIO_FRAME_SIZE|192000|' \
23 -e 's/.*dsp_mask.*/av_set_cpu_flags_mask(AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_MMX2);/' \
24 channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
26 cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/freerdp $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }