homebrew-core/Formula/nspr.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

16 lines
449 B
Ruby

require 'formula'
class Nspr <Formula
@url='https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.7.5/src/nspr-4.7.5.tar.gz'
@homepage='http://www.mozilla.org/projects/nspr/'
@md5='f76d459a9e589d41d65314357a853783'
def install
ENV.deparallelize
Dir.chdir "mozilla/nsprpub" do
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--enable-strip"
system "make"
system "make install"
end
end
end