wok-next view dnstop/receipt @ rev 18762

Up slitaz-tools-boxes (962)
author Lucas Levrel <llevrel@yahoo.fr>
date Tue Dec 29 21:25:57 2015 +0100 (2015-12-29)
parents ce9148142ee8
children 466bca9334ef
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 }