wok annotate rinetd/receipt @ rev 25075
created recipe for alsa-ucm-conf
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 14 07:07:03 2022 +0100 (2022-06-14) |
parents | a4a9b130531d |
children | 2151e1e3c336 |
rev | line source |
---|---|
pascal@17178 | 1 # SliTaz package receipt. |
pascal@17178 | 2 |
pascal@17178 | 3 PACKAGE="rinetd" |
pascal@17178 | 4 VERSION="0.62" |
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" |
pascal@17178 | 9 TARBALL="$PACKAGE.tar.gz" |
pascal@23596 | 10 WEB_SITE="https://github.com/boutell/rinetd" |
pascal@23596 | 11 WGET_URL="http://www.boutell.com/rinetd/http/$TARBALL" |
pascal@17178 | 12 |
pascal@24497 | 13 # What is the latest version available today? |
pascal@24497 | 14 current_version() |
pascal@24497 | 15 { |
pascal@24497 | 16 wget -O - https://raw.githubusercontent.com/boutell/rinetd/master/CHANGES 2>/dev/null | \ |
pascal@24497 | 17 sed '/^Version /!d;s|.*ersion ||;s|:.*||' | sort -Vr | sed q |
pascal@24497 | 18 } |
pascal@24497 | 19 |
pascal@17178 | 20 # Rules to configure and make the package. |
pascal@17178 | 21 compile_rules() |
pascal@17178 | 22 { |
pascal@17178 | 23 make |
pascal@17178 | 24 } |
pascal@17178 | 25 |
pascal@17178 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17178 | 27 genpkg_rules() |
pascal@17178 | 28 { |
pascal@17178 | 29 mkdir -p $fs/usr/sbin |
pascal@17178 | 30 cp -a $src/rinetd $fs/usr/sbin |
pascal@17178 | 31 } |
pascal@17178 | 32 |