wok view ttysnoop/receipt @ rev 25026

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 10:39:49 2022 +0000 (23 months ago)
parents e3079653b462
children 5c0ba7968d4c
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://mirrors.xmu.edu.cn/gentoo/distfiles/f8/$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 }