wok-next view freerdp/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 7639f09792cf |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freerdp"
4 VERSION="2.0.0-rc0"
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.zip"
10 WEB_SITE="http://www.freerdp.com/"
11 WGET_URL="https://github.com/FreeRDP/FreeRDP/archive/$VERSION.zip"
13 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev xorg-libxcb-dev xorg-dev \
14 xorg-dev-proto wget cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev"
15 SPLIT="freerdp freerdp-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 freerdp)
30 TAGS="rdp remote-desktop"
31 DEPENDS="zlib libkrb5 openssl libcomerr cups alsa-lib xorg-libxcb \
32 xorg-libXcursor ffmpeg xorg-libXv pcsc-lite"
33 mkdir -p $fs/usr/lib/freerdp $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 ;;
37 freerdp-dev)
38 DEPENDS="fftw pkg-config openssl-dev"
39 mkdir -p $fs/usr/lib/freerdp
40 cp -a $install/usr/include $fs/usr
41 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
42 ;;
43 esac
44 }