libmatroska: 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
40ba4a86b8
commit
78421f0302
1 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,8 @@ class Libmatroska < Formula
|
|||
depends_on 'libebml'
|
||||
|
||||
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