mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
18 lines
317 B
Ruby
18 lines
317 B
Ruby
require 'formula'
|
|
|
|
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
|