homebrew-core/Formula/netcat.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

12 lines
357 B
Ruby

require 'formula'
class Netcat <Formula
url 'http://downloads.sourceforge.net/sourceforge/netcat/netcat-0.7.1.tar.bz2'
md5 '0a29eff1736ddb5effd0b1ec1f6fe0ef'
homepage 'http://netcat.sourceforge.net/'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end