2014-03-24 15:36:12 +00:00
|
|
|
class LSmash < Formula
|
2014-06-22 16:05:43 +00:00
|
|
|
homepage "http://l-smash.github.io/l-smash/"
|
2014-08-12 18:16:57 +00:00
|
|
|
url "https://github.com/l-smash/l-smash.git", :tag => "v1.13.2", :shallow => false
|
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
|
2014-08-12 18:27:31 +00:00
|
|
|
sha1 "468918e2a5008899f0630ce2a5cfc39e7cef7f77" => :mavericks
|
|
|
|
sha1 "174bb9962f8d81a3d2f5914eeca9dd8a8a5e4557" => :mountain_lion
|
|
|
|
sha1 "d39f42b173264a333e0d90298713e280ec892452" => :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
|