wok-current view ttysnoop/receipt @ rev 24938
mypaint-brushes: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 09:10:40 2022 +0000 (2022-04-14) |
parents | fb43cf0da21a |
children | 505d1daeed6c |
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="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 }