wok annotate rinetd/receipt @ rev 25610
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 21 17:16:04 2023 +0000 (16 months ago) |
parents | 7010999005b0 |
children |
rev | line source |
---|---|
pascal@17178 | 1 # SliTaz package receipt. |
pascal@17178 | 2 |
pascal@17178 | 3 PACKAGE="rinetd" |
Hans-G?nter@25280 | 4 VERSION="0.73" |
pascal@17178 | 5 CATEGORY="network" |
pascal@17178 | 6 SHORT_DESC="internet ''redirection server''." |
pascal@17178 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17178 | 8 LICENSE="GPL2" |
Hans-G?nter@25280 | 9 WEB_SITE="https://github.com/samhocevar/rinetd" |
Hans-G?nter@25280 | 10 |
Hans-G?nter@25281 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25280 | 12 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz" |
pascal@17178 | 13 |
pascal@24497 | 14 # What is the latest version available today? |
pascal@24497 | 15 current_version() |
pascal@24497 | 16 { |
pascal@25610 | 17 wget -O - https://github.com/samhocevar/rinetd 2>/dev/null | \ |
pascal@25610 | 18 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24497 | 19 } |
pascal@24497 | 20 |
pascal@17178 | 21 # Rules to configure and make the package. |
pascal@17178 | 22 compile_rules() |
pascal@17178 | 23 { |
Hans-G?nter@25280 | 24 ./bootstrap && |
Hans-G?nter@25280 | 25 ./configure \ |
Hans-G?nter@25280 | 26 --prefix=/usr && |
Hans-G?nter@25280 | 27 make && |
Hans-G?nter@25280 | 28 make install |
pascal@17178 | 29 } |
pascal@17178 | 30 |
pascal@17178 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17178 | 32 genpkg_rules() |
pascal@17178 | 33 { |
Hans-G?nter@25280 | 34 cook_copy_folders sbin |
pascal@17178 | 35 } |