From c3d860263c2c07175f1656ab702a5459ecaaaf86 Mon Sep 17 00:00:00 2001 From: Tsukasa OMOTO Date: Tue, 25 Mar 2014 00:36:12 +0900 Subject: [PATCH] l-smash 1.5.2 --- Formula/l-smash.rb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Formula/l-smash.rb diff --git a/Formula/l-smash.rb b/Formula/l-smash.rb new file mode 100644 index 0000000000..dbedfacf6d --- /dev/null +++ b/Formula/l-smash.rb @@ -0,0 +1,24 @@ +require "formula" + +class LSmash < Formula + homepage "http://up-cat.net/L%252DSMASH.html" + url "https://github.com/l-smash/l-smash.git", :tag => "v1.5.2", :shallow => false + head "https://github.com/l-smash/l-smash.git" + + 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