From d238553ea1f82da8c89a82df175d244880a92ba4 Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Mon, 16 Oct 2017 14:10:26 -0600 Subject: [PATCH] Fix homebrew formula --- packaging/vobsub2srt.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packaging/vobsub2srt.rb b/packaging/vobsub2srt.rb index 69a90d1..b3bd91c 100644 --- a/packaging/vobsub2srt.rb +++ b/packaging/vobsub2srt.rb @@ -12,7 +12,9 @@ class Vobsub2srt < Formula depends_on 'ffmpeg' def install - system "./configure #{std_cmake_args}" - system "make install" + mkdir "build" do + system "cmake", "..", *std_cmake_args + system "make", "install" + end end end