2014-03-24 15:36:12 +00:00
|
|
|
class LSmash < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Tool for working with MP4 files"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "https://l-smash.github.io/l-smash/"
|
2015-08-10 02:15:41 +00:00
|
|
|
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"
|
|
|
|
|
2014-03-26 08:53:08 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-08-10 03:08:22 +00:00
|
|
|
sha256 "3703bdeb1dfe66aef898e60a990f4e64f0ab3c1fe26a49cf824b3c6998acaacc" => :yosemite
|
|
|
|
sha256 "78c5c52a90e1609694b43a45240126515f97be8a1d129a57215d4a7ba9e3717f" => :mavericks
|
|
|
|
sha256 "5e2cd2ae65a0aeb7d1429f18fbd41dd7bdbfc03fcd10f320e41fc0cf6c95aef4" => :mountain_lion
|
2014-03-26 08:53:08 +00:00
|
|
|
end
|
|
|
|
|
2014-03-24 15:36:12 +00:00
|
|
|
def install
|
2014-12-17 01:47:40 +00:00
|
|
|
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
|