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