wok-next annotate freerdp/receipt @ rev 15054
compiz-libcompizconfig-dev: fix genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 21:12:36 2013 +0000 (2013-08-12) |
parents | 6c063ccc2d9d |
children | 7bb096863642 |
rev | line source |
---|---|
pascal@8256 | 1 # SliTaz package receipt. |
pascal@8256 | 2 |
pascal@8256 | 3 PACKAGE="freerdp" |
pascal@13837 | 4 VERSION="1.0.2" |
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@14355 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@8256 | 9 WEB_SITE="http://www.freerdp.com/" |
pascal@14355 | 10 WGET_URL="https://github.com/FreeRDP/FreeRDP/archive/$VERSION.tar.gz" |
pascal@13310 | 11 DEPENDS="zlib libkrb5 libssl libcomerr cups alsa-lib libxcb xorg-libXcursor \ |
pascal@13313 | 12 ffmpeg xorg-libXv pcsc-lite" |
pascal@13310 | 13 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev libxcb-dev xorg-dev \ |
pascal@13313 | 14 xorg-dev-proto wget cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev" |
pascal@8256 | 15 TAGS="rdp remote-desktop" |
pascal@8256 | 16 |
pascal@8256 | 17 # Rules to configure and make the package. |
pascal@8256 | 18 compile_rules() |
pascal@8256 | 19 { |
pascal@8256 | 20 cd $src |
pascal@13313 | 21 cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . && |
pascal@8256 | 22 make && |
pascal@13310 | 23 make DESTDIR=$DESTDIR install |
pascal@8256 | 24 } |
pascal@8256 | 25 |
pascal@8256 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@8256 | 27 genpkg_rules() |
pascal@8256 | 28 { |
pascal@8256 | 29 mkdir -p $fs/usr/lib/freerdp $fs/usr/share |
pascal@13310 | 30 cp -a $install/usr/bin $fs/usr |
pascal@13310 | 31 cp -a $install/usr/share/freerdp $fs/usr/share |
pascal@13310 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13310 | 33 cp -a $install/usr/lib/freerdp/*.so* $fs/usr/lib/freerdp |
pascal@8256 | 34 } |