wok view openconnect/receipt @ rev 24892

Down libtmp (1.1.17), 1.1.19 doesn't detect smartphones (?)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 07 15:38:15 2022 +0000 (2022-04-07)
parents 241fb98cab1c
children 426a1cad702b
line source
1 # SliTaz package receipt.
3 PACKAGE="openconnect"
4 VERSION="8.10"
5 CATEGORY="network"
6 SHORT_DESC="A client for Cisco's AnyConnect SSL VPN."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.infradead.org/openconnect/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.infradead.org/pub/$PACKAGE/$TARBALL"
14 DEPENDS="libxml2 openssl vpnc"
15 # Will require libtirpc when glibc is upgraded to 2.14.
16 BUILD_DEPENDS="libxml2-dev openssl-dev pkg-config vpnc zlib"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - 'https://gitlab.com/openconnect/openconnect/-/tags?sort=updated_desc' 2>/dev/null | \
22 sed '/item-title/!d;s|.*">[a-z-]*||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 mkdir -p $fs/usr/sbin
39 cp -a $install/usr/lib/*so* $fs/usr/lib
40 cp -a $install/usr/sbin/openconnect $fs/usr/sbin
41 }