wok-current view icmpshell/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
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 }