aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2011-09-30 01:56:46 -0500
committerJack Nagel2011-09-30 01:56:57 -0500
commit0e8081ee28e12904403f50ea8ab45e66b37722af (patch)
tree49af31e29e6675d24b063cf81517cd5e0097a29d /Library/Formula
parent499ce199ffcf4005d988b952f2f44b6eef41c87e (diff)
downloadhomebrew-0e8081ee28e12904403f50ea8ab45e66b37722af.tar.bz2
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>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libmatroska.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/libmatroska.rb b/Library/Formula/libmatroska.rb
index 6414ec3dd..c074dd9a4 100644
--- a/Library/Formula/libmatroska.rb
+++ b/Library/Formula/libmatroska.rb
@@ -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