wok view openconnect/receipt @ rev 24614
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 06 21:04:14 2022 +0000 (2022-03-06) |
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 }