wok view rinetd/receipt @ rev 24497
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 19 14:19:02 2022 +0000 (2022-02-19) |
parents | a4a9b130531d |
children | 2151e1e3c336 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rinetd"
4 VERSION="0.62"
5 CATEGORY="network"
6 SHORT_DESC="internet ''redirection server''."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE.tar.gz"
10 WEB_SITE="https://github.com/boutell/rinetd"
11 WGET_URL="http://www.boutell.com/rinetd/http/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://raw.githubusercontent.com/boutell/rinetd/master/CHANGES 2>/dev/null | \
17 sed '/^Version /!d;s|.*ersion ||;s|:.*||' | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/sbin
30 cp -a $src/rinetd $fs/usr/sbin
31 }