diff --git a/Formula/vmalloc.rb b/Formula/vmalloc.rb index 30b2eb03d6fba..1fe0987dbdd90 100644 --- a/Formula/vmalloc.rb +++ b/Formula/vmalloc.rb @@ -1,17 +1,17 @@ -require 'formula' +require "formula" class Vmalloc < Formula - homepage 'http://www2.research.att.com/sw/download/' - url 'http://www2.research.att.com/~gsf/download/tgz/vmalloc.2005-02-01.tgz', + homepage "http://www2.research.att.com/sw/download/" + url "http://www2.research.att.com/~astopen/download/tgz/vmalloc.2013-05-31.tgz", :using => AttResearchDownloadStrategy - sha1 '13e45960831226b2b2ac93cdbe23d1d4c6e7eb38' - version '2005-02-01' + sha1 "c656a820503c2f6e7ec19d6b42f2fa0fcefc33b0" + version "2013-05-31" def install # Vmalloc makefile does not work in parallel mode ENV.deparallelize # override Vmalloc makefile flags - inreplace Dir['src/**/Makefile'] do |s| + inreplace Dir["src/**/Makefile"] do |s| s.change_make_var! "CC", ENV.cc s.change_make_var! "CXFLAGS", ENV.cflags s.change_make_var! "CCMODE", "" @@ -20,9 +20,9 @@ def install system "/bin/sh ./Runmake" # install manually # put all includes into a directory of their own - (include + "vmalloc").install Dir['include/*.h'] - lib.install Dir['lib/*.a'] - man.install 'man/man3' + (include + "vmalloc").install Dir["include/*.h"] + lib.install Dir["lib/*.a"] + man.install "man/man3" end def caveats; <<-EOS.undent