forked from ports/contrib
22 lines
637 B
Plaintext
22 lines
637 B
Plaintext
# $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
|
|
}
|