wok-current view guacamole/receipt @ rev 24894

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