wok-next annotate dnstop/receipt @ rev 18487
Add screentest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 10 12:26:29 2015 +0200 (2015-10-10) |
parents | ce9148142ee8 |
children | 466bca9334ef |
rev | line source |
---|---|
pascal@15721 | 1 # SliTaz package receipt. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="dnstop" |
pascal@15721 | 4 VERSION="20121017" |
pascal@15721 | 5 CATEGORY="network" |
pascal@15721 | 6 SHORT_DESC="Displays various tables of DNS traffic on your network." |
pascal@15721 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15721 | 8 LICENSE="BSD" |
pascal@15721 | 9 DEPENDS="ncurses libpcap" |
pascal@15721 | 10 BUILD_DEPENDS="ncurses-dev libpcap-dev" |
pascal@15721 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15721 | 12 WEB_SITE="http://dns.measurement-factory.com/tools/dnstop" |
pascal@15721 | 13 WGET_URL="$WEB_SITE/src/$TARBALL" |
pascal@15721 | 14 |
pascal@15721 | 15 # Rules to configure and make the package. |
pascal@15721 | 16 compile_rules() |
pascal@15721 | 17 { |
pascal@17670 | 18 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@15721 | 19 ./configure --prefix=/usr |
pascal@15721 | 20 make |
pascal@15721 | 21 } |
pascal@15721 | 22 |
pascal@15721 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 24 genpkg_rules() |
pascal@15721 | 25 { |
pascal@15721 | 26 mkdir -p $fs/usr/bin |
pascal@15721 | 27 cp -a $src/$PACKAGE $fs/usr/bin |
pascal@15721 | 28 } |