wok annotate rinetd/receipt @ rev 25280
updated rinetd (0.62 -> 0.73)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 15:13:04 2022 +0100 (2022-07-18) |
parents | 34e801e0eb52 |
children | 7010999005b0 |
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 |
pascal@17178 | 11 TARBALL="$PACKAGE.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@24497 | 17 wget -O - https://raw.githubusercontent.com/boutell/rinetd/master/CHANGES 2>/dev/null | \ |
pascal@24497 | 18 sed '/^Version /!d;s|.*ersion ||;s|:.*||' | sort -Vr | sed 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 } |