wok-next view dnstop/receipt @ rev 17923
Update kernel.org url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 10 16:29:03 2015 +0200 (2015-04-10) |
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 }