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>
master
Jack Nagel 2011-09-30 01:54:53 -05:00
parent 39cd502630
commit 40ba4a86b8
1 changed files with 3 additions and 2 deletions

View File

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