wok-current view icmpshell/receipt @ rev 25177

Update some web_site & wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 02 13:44:10 2022 +0000 (2022-07-02)
parents c9ac918ca706
children 7dd01dedad38
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="http://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 }