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:
Jack Nagel 2011-09-30 01:56:46 -05:00
parent 40ba4a86b8
commit 78421f0302

View file

@ -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