wok view rinetd/receipt @ rev 25361
sshrc: typo in wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 27 16:25:20 2022 +0000 (2022-07-27) |
parents | 2151e1e3c336 |
children | 1e09c4c56491 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rinetd"
4 VERSION="0.73"
5 CATEGORY="network"
6 SHORT_DESC="internet ''redirection server''."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/samhocevar/rinetd"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://raw.githubusercontent.com/boutell/rinetd/master/CHANGES 2>/dev/null | \
18 sed '/^Version /!d;s|.*ersion ||;s|:.*||' | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./bootstrap &&
25 ./configure \
26 --prefix=/usr &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_folders sbin
35 }