contrib/sntop/Pkgfile

20 lines
565 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/
2007-01-20 03:21:06 +01:00
# Packager: James Mills, prologic at shortcircuit dot net dot au
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
release=1
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
make
mkdir -p $PKG/usr/{bin,man/man1,etc}
make prefix=$PKG/usr install
2006-11-14 00:01:22 +01:00
}