wok annotate ttysnoop/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents e3079653b462
children 5c0ba7968d4c
rev   line source
pascal@14493 1 # SliTaz package receipt.
pascal@14493 2
pascal@14493 3 PACKAGE="ttysnoop"
pascal@14493 4 VERSION="0.12d.k26"
pascal@14493 5 CATEGORY="system-tools"
pascal@14493 6 SHORT_DESC="Allows you to spy on telnet+serial connections."
pascal@14493 7 LICENSE="GPL"
pascal@14493 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14493 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14493 10 WEB_SITE="http://freecode.com/projects/ttysnoop"
pascal@25026 11 WGET_URL="http://mirrors.xmu.edu.cn/gentoo/distfiles/f8/$TARBALL"
pascal@14493 12
pascal@24565 13 # What is the latest version available today?
pascal@24565 14 current_version()
pascal@24565 15 {
pascal@24565 16 wget -O - https://github.com/iovisor/bcc/releases 2>/dev/null | \
pascal@24565 17 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24565 18 }
pascal@24565 19
pascal@14493 20 # Rules to configure and make the package.
pascal@14493 21 compile_rules()
pascal@14493 22 {
pascal@14493 23 make
pascal@14493 24 }
pascal@14493 25
pascal@14493 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14493 27 genpkg_rules()
pascal@14493 28 {
pascal@14493 29 mkdir -p $fs/sbin
pascal@14493 30 cp $src/ttysnoop $src/ttysnoops $fs/sbin
pascal@14493 31 }