wok-current view icmpshell/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
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 }