2006-11-20 07:26:53 +10:00
|
|
|
# Description: Curses based tool to monitor connectivity of network hosts.
|
|
|
|
# URL: http://sntop.sourceforge.net/
|
2008-03-05 04:21:53 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2006-11-20 07:26:53 +10:00
|
|
|
# Depends on: fping
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=sntop
|
|
|
|
version=1.4.3
|
2020-01-20 15:31:32 +00:00
|
|
|
release=2
|
2010-11-12 12:03:50 +01:00
|
|
|
source=(http://download.sourceforge.net/$name/$name-$version.tar.gz)
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
build () {
|
2006-11-20 07:26:53 +10:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr
|
|
|
|
sed -i "/^CFLAGS/s/-O2 -pipe/$CFLAGS/" Makefile
|
2020-01-20 15:31:32 +00:00
|
|
|
make
|
|
|
|
mkdir -p $PKG/usr/{bin,share/man/man1,etc}
|
|
|
|
make prefix=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|