wok view icmpshell/receipt @ rev 25686

Use System category for pm-suspend entry
author Stanislas Leduc <shann@slitaz.org>
date Sat Apr 06 12:03:22 2024 +0200 (7 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 }