wok view icmpshell/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents ba7cbdb5749c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="icmpshell"
4 SOURCE="ish"
5 VERSION="0.2"
6 CATEGORY="network"
7 SHORT_DESC="A telnet-like protocol over icmp."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-v$VERSION.tar.gz"
11 WEB_SITE="https://icmpshell.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/icmpshell/files/ish/ 2>/dev/null | \
18 sed '/scope="row/!d;s|.*/v||;s|/.*||' | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 patch -p0 < $stuff/ishd.u
25 make -j 1 linux
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/sbin
32 cp $src/ish $fs/usr/sbin
33 cp $src/ishd $fs/usr/sbin
34 }