5fc51a6e1b
Signed-off-by: Max Howell <max@methylblue.com> I squashed a number of commits here, and also replaced the use of nspr.prefix with HOMEBREW_PREFIX as in theory we are flexible with our requirement for dependencies, although with the limited build system that SpiderMonkey possesses this is difficult for us to achieve anyway…
16 lines
449 B
Ruby
16 lines
449 B
Ruby
require 'brewkit'
|
|
|
|
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
|