wok-6.x view dnstop/receipt @ rev 18898
slitaz-boot-scripts (424), slitaz-tools (966), tazpanel (567), tazusb (184)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 17 11:45:28 2016 +0100 (2016-02-17) |
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 }