wok view dnstop/receipt @ rev 25674

tiptop: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 28 11:10:12 2024 +0000 (2 months ago)
parents 8f37db468deb
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dnstop"
4 VERSION="20210329"
5 CATEGORY="network"
6 SHORT_DESC="Displays various tables of DNS traffic on your network."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://dns.measurement-factory.com/tools/dnstop"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="https://github.com/measurement-factory/$PACKAGE/archive/refs/heads/master.zip"
14 DEPENDS="libpcap ncurses"
15 BUILD_DEPENDS="libpcap-dev ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/measurement-factory/$PACKAGE/commits/master 2>/dev/null | \
21 sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure --prefix=/usr &&
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/$PACKAGE $fs/usr/bin
38 }