wok view vmware-view-open-client/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (24 months ago)
parents 34e801e0eb52
children c965782a38e0
line source
1 # SliTaz package receipt.
3 PACKAGE="vmware-view-open-client"
4 VERSION="4.5.0_297975"
5 SOURCE="VMware-view-open-client-source"
6 CATEGORY="network"
7 SHORT_DESC="Connection tools to remote Windows desktops managed by VMware View."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-${VERSION/_/-}.tar.gz"
11 WEB_SITE="https://github.com/dontsueme/vmware-view-open-client"
12 WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
14 DEPENDS="gtk+ libssl libxml2 curl libboost-signals icu bzlib"
15 BUILD_DEPENDS="gtk+-dev openssl-dev libxml2-dev curl-dev libboost-dev \
16 libboost-signals-dev icu-dev icu intltool"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
22 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
30 sed -i 's|.*curl/types|// &|' lib/bora/basicHttp/http.c
31 ./configure --prefix=/usr \
32 $CONFIGURE_ARGS && \
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }