homebrew-core/Formula/l-smash.rb

28 lines
903 B
Ruby
Raw Normal View History

2014-03-24 15:36:12 +00:00
class LSmash < Formula
desc "Tool for working with MP4 files"
homepage "https://l-smash.github.io/l-smash/"
url "https://github.com/l-smash/l-smash.git", :shallow => false,
:tag => "v2.9.1",
:revision => "4cea08d264933634db5bc06da9d8d88fb5ddae07"
2014-03-24 15:36:12 +00:00
head "https://github.com/l-smash/l-smash.git"
bottle do
cellar :any
2015-08-10 03:08:22 +00:00
sha256 "3703bdeb1dfe66aef898e60a990f4e64f0ab3c1fe26a49cf824b3c6998acaacc" => :yosemite
sha256 "78c5c52a90e1609694b43a45240126515f97be8a1d129a57215d4a7ba9e3717f" => :mavericks
sha256 "5e2cd2ae65a0aeb7d1429f18fbd41dd7bdbfc03fcd10f320e41fc0cf6c95aef4" => :mountain_lion
end
2014-03-24 15:36:12 +00:00
def install
system "./configure", "--prefix=#{prefix}", "--enable-shared"
2014-03-24 15:36:12 +00:00
system "make", "install"
end
test do
system "#{bin}/boxdumper", "-v"
system "#{bin}/muxer", "-v"
system "#{bin}/remuxer", "-v"
system "#{bin}/timelineeditor", "-v"
end
end