libebml: overhaul install method
Make it more Homebrew-like. As a bonus it now respects the value of ENV.cxx. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
39cd502630
commit
40ba4a86b8
1 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,8 @@ class Libebml < Formula
|
|||
md5 '726cc2bd1a525929ff35ff9854c0ebab'
|
||||
|
||||
def install
|
||||
system 'cp -r make/linux make/darwin'
|
||||
system "cd make/darwin && make install prefix=#{prefix}"
|
||||
chdir 'make/linux' do
|
||||
system "make install prefix=#{prefix} CXX=#{ENV.cxx}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue