sntop-1.4.3-1

This commit is contained in:
Jaroslav Lichtblau 2014-12-02 13:53:03 +01:00
parent b95d02a99a
commit 3acf551145
3 changed files with 8 additions and 7 deletions

View file

@ -5,6 +5,7 @@ pkgbase = sntop
url = http://sntop.sourceforge.net/
install = sntop.install
arch = i686
arch = x86_64
license = GPL
depends = ncurses
depends = fping

View file

@ -4,7 +4,7 @@ pkgname=sntop
pkgver=1.4.3
pkgrel=1
pkgdesc="Curses-based top-esque console utility for monitoring the connectivity of network hosts"
arch=('i686')
arch=('i686' 'x86_64')
url="http://sntop.sourceforge.net/"
license=('GPL')
depends=('ncurses' 'fping')
@ -13,16 +13,16 @@ source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgn
sha256sums=('943a5af1905c3ae7ead064e531cde6e9b3dc82598bbda26ed4a43788d81d6d89')
build() {
cd ${srcdir}/$pkgname-$pkgver
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
cd $pkgname-$pkgver
install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
install -D -m644 sntoprc.EXAMPLE ${pkgdir}/usr/share/sntop/sntoprc.EXAMPLE
install -D -m644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
install -Dm755 $pkgname "${pkgdir}"/usr/bin/$pkgname
install -Dm644 sntoprc.EXAMPLE "${pkgdir}"/usr/share/sntop/sntoprc.EXAMPLE
install -Dm644 $pkgname.1 "${pkgdir}"/usr/share/man/man1/$pkgname.1
}

View file

@ -1,4 +1,4 @@
post_install() {
echo "=> See the example configuration file, ammend it to your"
echo "=> needs and place in /etc or in your $HOME directory."
echo "=> needs and place in /etc or in your \$HOME directory."
}