wok-6.x annotate rinetd/receipt @ rev 25324
updated squid, squid-auth-helpers and squid-langpack (3.4.2 -> 5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 17:10:45 2022 +0100 (2022-07-22) |
parents | 2151e1e3c336 |
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@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 } |