homebrew-core/Formula/re2.rb

18 lines
317 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Re2 < Formula
head 'https://re2.googlecode.com/hg'
homepage 'http://code.google.com/p/re2/'
def install
inreplace 'Makefile' do |s|
s.change_make_var! "prefix", prefix
s.gsub! ".so", ".dylib"
end
lib.mkdir
system "make"
system "make install"
end
end