1
0
forked from ports/contrib

nicstat: new port

This commit is contained in:
Bartlomiej Palmowski 2013-08-25 18:44:39 +02:00
parent 940a932955
commit 75d0a3308e
3 changed files with 26 additions and 0 deletions

6
nicstat/.footprint Normal file
View File

@ -0,0 +1,6 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/nicstat
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/nicstat.1.gz

1
nicstat/.md5sum Normal file
View File

@ -0,0 +1 @@
c1bf0a98f27830462f81894bfb447fd8 nicstat-src-1.92.tar.gz

19
nicstat/Pkgfile Normal file
View File

@ -0,0 +1,19 @@
# Description: network statistics including packets, kilobytes per second, average packet sizes and more.
# URL: http://nicstat.sourceforge.net/
# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
# Depends on:
name=nicstat
version=1.92
release=1
source=(http://dl.sourceforge.net/project/$name/$name-src-$version.tar.gz)
build () {
cd $name-src-$version
# retarded buildsystem is retarded
make -f Makefile.Linux CFLAGS="$CFLAGS"
gzip -k --best $name.1
install -D -m0755 $(./nicstat.sh --bin-name) $PKG/usr/bin/$name
install -D -m0644 $name.1.gz $PKG/usr/man/man1/$name.1.gz
}