wok-next annotate darkstat/receipt @ rev 20985

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 29 16:54:07 2018 +0300 (2018-09-29)
parents a3c581bf52b8
children d5aab818505e
rev   line source
al@20985 1 # SliTaz package receipt v2.
erjo@3058 2
erjo@3058 3 PACKAGE="darkstat"
al@20985 4 VERSION="3.0.719"
pascal@3610 5 CATEGORY="network"
al@20985 6 SHORT_DESC="Network statistics gatherer"
erjo@3058 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="GPL2 BSD"
al@20985 9 WEB_SITE="https://unix4lyfe.org/darkstat/"
al@20985 10
erjo@3058 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20906 12 WGET_URL="https://unix4lyfe.org/darkstat/$TARBALL"
erjo@3058 13
pascal@15579 14 BUILD_DEPENDS="libpcap-dev zlib-dev"
pascal@15579 15
al@20985 16 compile_rules() {
al@20985 17 ./configure $CONFIGURE_ARGS &&
al@20985 18 make &&
al@20985 19 make install || return 1
al@20985 20
al@20985 21 chmod u+w $install/usr/sbin/darkstat # 555->755
al@20985 22
al@20985 23 cook_pick_docs NEWS README AUTHORS LICENSE INSTALL ChangeLog
erjo@3058 24 }
erjo@3058 25
al@20985 26 genpkg_rules() {
al@20985 27 copy @std
al@20985 28 DEPENDS="libpcap zlib"
al@20985 29 TAGS="network monitor stats statistics"
erjo@3058 30 }