61b2307139
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.
12 lines
357 B
Ruby
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
|