contrib/sntop/Pkgfile

19 lines
533 B
Plaintext
Raw Normal View History

2006-11-19 22:26:53 +01: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-19 22:26:53 +01:00
# Depends on: fping
2006-11-14 00:01:22 +01:00
name=sntop
version=1.4.3
2020-01-20 16:31:32 +01:00
release=2
source=(http://download.sourceforge.net/$name/$name-$version.tar.gz)
2006-11-14 00:01:22 +01:00
build () {
2006-11-19 22:26:53 +01:00
cd $name-$version
./configure --prefix=/usr
sed -i "/^CFLAGS/s/-O2 -pipe/$CFLAGS/" Makefile
2020-01-20 16:31:32 +01: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 00:01:22 +01:00
}