wok view vnstat/receipt @ rev 18911

Add vnstat
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Feb 23 10:10:19 2016 +0200 (2016-02-23)
parents
children 8e7ad14f5f88
line source
1 # SliTaz package receipt.
3 PACKAGE="vnstat"
4 VERSION="1.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="Console-based network monitoring utility"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://humdi.net/vnstat/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS=""
14 SUGGESTED="libgd"
15 BUILD_DEPENDS="libgd-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 $CONFIGURE_ARGS &&
24 make && make install
25 find $install/usr/share/man -type f -exec gzip \{\} \;
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }