wok-next annotate freerdp/receipt @ rev 21094
Apply "force-arch" for selected dev packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 31 17:23:40 2018 +0200 (2018-12-31) |
parents | 5669e8b3be70 |
children |
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@21094 | 13 COOKOPTS="force-arch" # different .cmake |
al@21094 | 14 |
al@21078 | 15 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev libxcb-dev xorg-dev \ |
al@21078 | 16 xorg-dev-proto cmake ffmpeg-dev libxv-dev pcsc-lite-dev" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
pascal@8256 | 18 |
al@20956 | 19 compile_rules() { |
al@20956 | 20 cmake \ |
al@20956 | 21 -DWITH_PCSC=ON \ |
al@20956 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20956 | 23 . && |
pascal@8256 | 24 make && |
al@21020 | 25 make DESTDIR=$install install |
pascal@8256 | 26 } |
pascal@8256 | 27 |
al@20956 | 28 genpkg_rules() { |
pascal@20028 | 29 case $PACKAGE in |
al@20956 | 30 freerdp) |
al@20956 | 31 copy @std |
al@21078 | 32 DEPENDS="zlib libkrb5 openssl libcomerr cups alsa-lib libxcb \ |
al@21078 | 33 libxcursor ffmpeg libxv pcsc-lite" |
al@20956 | 34 TAGS="rdp remote-desktop" |
al@20956 | 35 ;; |
al@20956 | 36 *-dev) |
al@20956 | 37 copy @dev |
al@20956 | 38 DEPENDS="fftw openssl-dev" |
al@20956 | 39 ;; |
pascal@20029 | 40 esac |
pascal@8256 | 41 } |