wok view freerdp/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents 99b42fdb85c9
children 3e994eb44069
line source
1 # SliTaz package receipt.
3 PACKAGE="freerdp"
4 VERSION="1.0.2"
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 cd $src
23 cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/freerdp $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/freerdp $fs/usr/share
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/freerdp/*.so* $fs/usr/lib/freerdp
36 }