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