aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nicovideo-dl.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/nicovideo-dl.rb b/Library/Formula/nicovideo-dl.rb
new file mode 100644
index 000000000..f68950ed1
--- /dev/null
+++ b/Library/Formula/nicovideo-dl.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class NicovideoDl < Formula
+ homepage 'http://sourceforge.jp/projects/nicovideo-dl/'
+ url 'http://dl.sourceforge.jp/nicovideo-dl/56304/nicovideo-dl-0.0.20120212.tar.gz'
+ sha1 '19f92570e01bd19a5a980e67985c0821e0af6ad5'
+
+ def install
+ bin.install 'nicovideo-dl'
+ end
+
+ def test
+ system "#{bin}/nicovideo-dl", "-v"
+ end
+end