Commit 5f13a08a authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #438 from cstrouse/add-iftop

Add iftop (0.17) package
parents 60a64de6 12dbd2a7
require 'package'
class Iftop < Package
version '0.17'
source_url 'http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz'
source_sha1 '75ce6afc8c0bf851278b0a15e66f523af90cfda9'
depends_on "libpcap"
depends_on "ncurses"
def self.build
system './configure --prefix=/usr/local CPPFLAGS="-I/usr/local/include/ncurses"'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment