wok-next annotate dnstop/receipt @ rev 20461

Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 04 04:56:40 2018 +0200 (2018-03-04)
parents 466bca9334ef
children e1c0edabdcb2
rev   line source
al@20461 1 # SliTaz package receipt v2.
pascal@15721 2
pascal@15721 3 PACKAGE="dnstop"
pascal@15721 4 VERSION="20121017"
pascal@15721 5 CATEGORY="network"
al@20461 6 SHORT_DESC="Displays various tables of DNS traffic on your network"
pascal@15721 7 MAINTAINER="paul@slitaz.org"
pascal@15721 8 LICENSE="BSD"
al@20461 9 WEB_SITE="http://dns.measurement-factory.com/tools/dnstop"
al@20461 10
pascal@15721 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15721 12 WGET_URL="$WEB_SITE/src/$TARBALL"
pascal@15721 13
al@20461 14 BUILD_DEPENDS="ncurses-dev libpcap-dev"
al@20461 15
al@20461 16 compile_rules() {
al@20461 17 ./configure --prefix=/usr &&
al@20461 18 make &&
al@20461 19 install -Dm755 $src/dnstop $fs/usr/bin/dnstop
pascal@15721 20 }
pascal@15721 21
al@20461 22 genpkg_rules() {
al@20461 23 copy @std
al@20461 24 DEPENDS="ncurses libpcap"
pascal@15721 25 }