diff options
author | Bartlomiej Palmowski <rotwang@crux.org.pl> | 2013-08-25 18:44:39 +0200 |
---|---|---|
committer | Bartlomiej Palmowski <rotwang@crux.org.pl> | 2013-08-25 18:44:39 +0200 |
commit | 75d0a3308ec0e14410edc51cb88ab3cb0ef64e7a (patch) | |
tree | fc5b2e9ef61098e19c2c8b69c5acec3eb7c3b186 /nicstat | |
parent | 940a932955798a1e43dab0206f749c0dfee0c90f (diff) | |
download | contrib-75d0a3308ec0e14410edc51cb88ab3cb0ef64e7a.tar.gz contrib-75d0a3308ec0e14410edc51cb88ab3cb0ef64e7a.tar.xz |
nicstat: new port
Diffstat (limited to 'nicstat')
-rw-r--r-- | nicstat/.footprint | 6 | ||||
-rw-r--r-- | nicstat/.md5sum | 1 | ||||
-rw-r--r-- | nicstat/Pkgfile | 19 |
3 files changed, 26 insertions, 0 deletions
diff --git a/nicstat/.footprint b/nicstat/.footprint new file mode 100644 index 000000000..fe6b861f8 --- /dev/null +++ b/nicstat/.footprint @@ -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 diff --git a/nicstat/.md5sum b/nicstat/.md5sum new file mode 100644 index 000000000..4fe7696ba --- /dev/null +++ b/nicstat/.md5sum @@ -0,0 +1 @@ +c1bf0a98f27830462f81894bfb447fd8 nicstat-src-1.92.tar.gz diff --git a/nicstat/Pkgfile b/nicstat/Pkgfile new file mode 100644 index 000000000..3cec8687f --- /dev/null +++ b/nicstat/Pkgfile @@ -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 +} + |