wok-current annotate guacamole/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents cb67b4f8be05
children
rev   line source
pascal@17532 1 # SliTaz package receipt.
pascal@17532 2
pascal@17532 3 PACKAGE="guacamole"
Hans-G?nter@21013 4 VERSION="1.0.0"
pascal@17532 5 CATEGORY="network"
Hans-G?nter@21013 6 SHORT_DESC="Clientless remote desktop gateway for VNC or RDP."
pascal@17532 7 MAINTAINER="pascal.bellard@slitaz.org"
Hans-G?nter@21013 8 LICENSE="Apache"
pascal@24746 9 WEB_SITE="https://guacamole.apache.org/"
Hans-G?nter@21013 10
pascal@17532 11 TARBALL="$PACKAGE-server-$VERSION.tar.gz"
Hans-G?nter@21013 12 #WGET_URL="$SF_MIRROR/project/$PACKAGE/current/source/$TARBALL"
pascal@24972 13 WGET_URL="https://apache.org/dyn/closer.cgi?action=download&filename=$PACKAGE/$VERSION/source/$TARBALL"
pascal@17532 14
pascal@17534 15 DEPENDS="cairo ossp-uuid libxml2 libvorbis libssl freerdp libvncserver \
Hans-G?nter@21013 16 libssh2 pango pulseaudio libjson-c libsndfile flac bzlib zlib"
pascal@17534 17 BUILD_DEPENDS="cairo-dev ossp-uuid-dev libxml2-dev openssl-dev jpeg-dev \
Hans-G?nter@21013 18 libvncserver-dev freerdp-dev libvorbis-dev pango-dev pulseaudio-dev \
Hans-G?nter@21013 19 libssh2-dev xorg-dev libjson-c-dev libsndfile-dev flac-dev dbus-dev \
Hans-G?nter@21013 20 libgcrypt-dev"
pascal@17532 21
pascal@24403 22 # What is the latest version available today?
pascal@24403 23 current_version()
pascal@24403 24 {
pascal@24414 25 wget -O - https://guacamole.apache.org/releases/ 2>/dev/null | \
pascal@24414 26 sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||;q'
pascal@24403 27 }
pascal@24403 28
pascal@17532 29 # Rules to configure and make the package.
pascal@17532 30 compile_rules()
pascal@17532 31 {
Hans-G?nter@21013 32 ./configure \
Hans-G?nter@21013 33 --prefix=/usr \
Hans-G?nter@21013 34 --mandir=/usr/share/man \
pascal@17532 35 $CONFIGURE_ARGS &&
Hans-G?nter@21013 36 make -j 1 &&
pascal@17532 37 make DESTDIR=$DESTDIR install
pascal@17532 38 }
pascal@17532 39
pascal@17532 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17532 41 genpkg_rules()
pascal@17532 42 {
pascal@17532 43 mkdir -p $fs/usr/lib
Hans-G?nter@21013 44 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21013 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@17532 46 }