From 91abd5b56775db6b225eca5feb36c66e5cd113e0 Mon Sep 17 00:00:00 2001 From: youpy Date: Thu, 28 Mar 2013 21:07:01 +0900 Subject: nicovideo-dl 0.0.20120212 Closes #18793. Signed-off-by: Adam Vandenberg --- Library/Formula/nicovideo-dl.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Library/Formula/nicovideo-dl.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3