From 75d0a3308ec0e14410edc51cb88ab3cb0ef64e7a Mon Sep 17 00:00:00 2001 From: Bartlomiej Palmowski Date: Sun, 25 Aug 2013 18:44:39 +0200 Subject: [PATCH] nicstat: new port --- nicstat/.footprint | 6 ++++++ nicstat/.md5sum | 1 + nicstat/Pkgfile | 19 +++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 nicstat/.footprint create mode 100644 nicstat/.md5sum create mode 100644 nicstat/Pkgfile 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 +} +