7b534ccc3f
Closes Homebrew/homebrew#31355. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
31 lines
874 B
Ruby
31 lines
874 B
Ruby
require "formula"
|
|
|
|
class LSmash < Formula
|
|
homepage "http://l-smash.github.io/l-smash/"
|
|
url "https://github.com/l-smash/l-smash.git", :tag => "v1.11.15", :shallow => false
|
|
head "https://github.com/l-smash/l-smash.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "4cd7bdcee126b3b6a9878c48d603d18078120b92" => :mavericks
|
|
sha1 "fcd601f4c7f8f50f746d319b162fe1276d64d220" => :mountain_lion
|
|
sha1 "4a6cf44ef801fa38232a62b985ac475a0bb2338a" => :lion
|
|
end
|
|
|
|
def install
|
|
args = ["--prefix=#{prefix}", "--enable-shared"]
|
|
|
|
# For getting version information correctly in the configure
|
|
buildpath.install_symlink cached_download/".git"
|
|
|
|
system "./configure", *args
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/boxdumper", "-v"
|
|
system "#{bin}/muxer", "-v"
|
|
system "#{bin}/remuxer", "-v"
|
|
system "#{bin}/timelineeditor", "-v"
|
|
end
|
|
end
|