# SliTaz package receipt. PACKAGE="icmpshell" SOURCE="ish" VERSION="0.2" CATEGORY="network" SHORT_DESC="A telnet-like protocol over icmp." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$SOURCE-v$VERSION.tar.gz" WEB_SITE="https://icmpshell.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/icmpshell/files/ish/ 2>/dev/null | \ sed '/scope="row/!d;s|.*/v||;s|/.*||' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { patch -p0 < $stuff/ishd.u make -j 1 linux } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/sbin cp $src/ish $fs/usr/sbin cp $src/ishd $fs/usr/sbin }