wok view dnstop/receipt @ rev 20175

fake-sane: fix path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 24 14:55:51 2018 +0100 (2018-01-24)
parents ce9148142ee8
children 453c249b6219
line source
1 # SliTaz package receipt.
3 PACKAGE="dnstop"
4 VERSION="20121017"
5 CATEGORY="network"
6 SHORT_DESC="Displays various tables of DNS traffic on your network."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 DEPENDS="ncurses libpcap"
10 BUILD_DEPENDS="ncurses-dev libpcap-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://dns.measurement-factory.com/tools/dnstop"
13 WGET_URL="$WEB_SITE/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 export LDFLAGS="$LDFLAGS -ltinfo"
19 ./configure --prefix=/usr
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/$PACKAGE $fs/usr/bin
28 }