wok-next annotate guacamole/receipt @ rev 20319
nagios-plugins: tiny patch, mingw32-binutils: update cflags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 11 16:12:32 2017 +0100 (2017-11-11) |
parents | d607766ba634 |
children | 585216719e14 |
rev | line source |
---|---|
pascal@20319 | 1 # SliTaz package receipt v2. |
pascal@17532 | 2 |
pascal@17532 | 3 PACKAGE="guacamole" |
pascal@17532 | 4 VERSION="0.9.4" |
pascal@17532 | 5 CATEGORY="network" |
pascal@17534 | 6 SHORT_DESC="Clientless remote desktop gateway for VNC or RDP" |
pascal@17532 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17532 | 8 LICENSE="MIT" |
pascal@17532 | 9 TARBALL="$PACKAGE-server-$VERSION.tar.gz" |
pascal@17532 | 10 WEB_SITE="http://guac-dev.org/" |
pascal@17532 | 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/current/source/$TARBALL" |
pascal@17532 | 12 |
pascal@17534 | 13 BUILD_DEPENDS="cairo-dev ossp-uuid-dev libxml2-dev openssl-dev jpeg-dev \ |
pascal@17534 | 14 libvncserver-dev freerdp-dev libvorbis-dev pango-dev pulseaudio-dev \ |
pascal@17770 | 15 libssh2-dev xorg-dev libjson-c-dev libsndfile-dev flac-dev dbus-dev \ |
pascal@17770 | 16 libgcrypt-dev" |
pascal@20319 | 17 SPLIT="guacamole-dev" |
pascal@17532 | 18 |
pascal@17532 | 19 # Rules to configure and make the package. |
pascal@17532 | 20 compile_rules() |
pascal@17532 | 21 { |
pascal@17532 | 22 ./configure --prefix=/usr \ |
pascal@17532 | 23 --mandir=/usr/share/man \ |
pascal@17532 | 24 $CONFIGURE_ARGS && |
pascal@17532 | 25 make && |
pascal@17532 | 26 make DESTDIR=$DESTDIR install |
pascal@17532 | 27 } |
pascal@17532 | 28 |
pascal@17532 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17532 | 30 genpkg_rules() |
pascal@17532 | 31 { |
pascal@20319 | 32 case $PACKAGE in |
pascal@20319 | 33 guacamole) |
pascal@20319 | 34 DEPENDS="cairo ossp-uuid libxml2 libvorbis libssl freerdp \ |
pascal@20319 | 35 libvncserver libssh2 pango pulseaudio libjson-c \ |
pascal@20319 | 36 libsndfile flac bzlib zlib" |
pascal@20319 | 37 mkdir -p $fs/usr/lib |
pascal@20319 | 38 cp -a $install/usr/sbin $fs/usr |
pascal@20319 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20319 | 40 ;; |
pascal@20319 | 41 guacamole-dev) |
pascal@20319 | 42 DEPENDS="guacamole" |
pascal@20319 | 43 mkdir -p $fs/usr/lib |
pascal@20319 | 44 cp -a $install/usr/include $fs/usr |
pascal@20319 | 45 cp -a $install/usr/lib/*a $fs/usr/lib |
pascal@20319 | 46 ;; |
pascal@17532 | 47 } |