diff options
Diffstat (limited to 'sntop/Pkgfile')
-rw-r--r-- | sntop/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sntop/Pkgfile b/sntop/Pkgfile new file mode 100644 index 000000000..ae118a082 --- /dev/null +++ b/sntop/Pkgfile @@ -0,0 +1,21 @@ +# $Id: Pkgfile 1330 2006-11-13 20:54:04Z prologic $ +# Description: Curses based tool to monitor connectivity of network hosts. +# URL: http://sntop.sourceforge.net/ +# Packager: James Mills prologic at shortcircuit dot net dot au +# Maintainer: James Mills prologic at shortcircuit dot net dot au +# Depends on: fping + +name=sntop +version=1.4.3 +release=1 +source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz) + +build () { + cd $name-$version + ./configure --prefix=/usr + sed -i "/^CFLAGS/s/-O2 -pipe/$CFLAGS/" Makefile + make + mkdir -p $PKG/usr/{bin,man/man1,etc} + make prefix=$PKG/usr install + chown -R root:root $PKG +} |