From bb7d4fc7592ea37918eb99068de7a52316dd4f6f Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Mon, 13 Apr 2015 12:02:37 -0700 Subject: rtmpdump 2.4+20150115 Also upgraded hash to SHA-256 and added a simple test. Closes #38622. Signed-off-by: Mike McQuaid --- Library/Formula/rtmpdump.rb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Formula/rtmpdump.rb b/Library/Formula/rtmpdump.rb index 3d2cf829d..3316bff97 100644 --- a/Library/Formula/rtmpdump.rb +++ b/Library/Formula/rtmpdump.rb @@ -4,10 +4,9 @@ require 'formula' # http://livestreamer.tanuki.se/en/latest/issues.html#installed-rtmpdump-does-not-support-jtv-argument class Rtmpdump < Formula homepage 'http://rtmpdump.mplayerhq.hu' - url 'http://ftp.de.debian.org/debian/pool/main/r/rtmpdump/rtmpdump_2.4+20131018.git79459a2.orig.tar.gz' - version '2.4+20131018' - sha1 '17decff9d16bbcf45f622ca8ee2400c46c277500' - revision 1 + url 'http://ftp.debian.org/debian/pool/main/r/rtmpdump/rtmpdump_2.4+20150115.gita107cef.orig.tar.gz' + version '2.4+20150115' + sha256 'd47ef3a07815079bf73eb5d053001c4341407fcbebf39f34e6213c4b772cb29a' bottle do cellar :any @@ -37,4 +36,8 @@ class Rtmpdump < Formula "sbindir=#{bin}", "install" end + + test do + system "#{bin}/rtmpdump", "-h" + end end -- cgit v1.2.3