aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTsukasa OMOTO2014-03-25 00:36:12 +0900
committerMike McQuaid2014-03-26 08:53:50 +0000
commit864a1d4ce404e94e71b0f3b433d4110956639f3e (patch)
tree07c498de72fd18032c2bc3e3cfdc5c7eae2d05b8 /Library/Formula
parent048604fbe4ef56a8f6a54596023ce9db5abdbc74 (diff)
downloadhomebrew-864a1d4ce404e94e71b0f3b433d4110956639f3e.tar.bz2
l-smash 1.5.2
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/l-smash.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/l-smash.rb b/Library/Formula/l-smash.rb
new file mode 100644
index 000000000..dbedfacf6
--- /dev/null
+++ b/Library/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