wok-current view ttysnoop/receipt @ rev 25562

ext4magic: add current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 01 08:21:00 2023 +0000 (18 months ago)
parents 505d1daeed6c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ttysnoop"
4 VERSION="0.12d.k26"
5 CATEGORY="system-tools"
6 SHORT_DESC="Allows you to spy on telnet+serial connections."
7 LICENSE="GPL"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://freecode.com/projects/ttysnoop"
11 WGET_URL="https://web.archive.org/web/20160402130538if_/http://sysd.org/stas/files/active/0/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://github.com/iovisor/bcc/releases 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/sbin
30 cp $src/ttysnoop $src/ttysnoops $fs/sbin
31 }