aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorZhiming Wang2015-04-13 12:02:37 -0700
committerMike McQuaid2015-04-13 15:33:26 -0700
commitbb7d4fc7592ea37918eb99068de7a52316dd4f6f (patch)
tree0f844233c148ee562cd71c670ac266c7cb53ae5c /Library
parente2c4e471b815823947a59cd89e09f6da392da256 (diff)
downloadhomebrew-bb7d4fc7592ea37918eb99068de7a52316dd4f6f.tar.bz2
rtmpdump 2.4+20150115
Also upgraded hash to SHA-256 and added a simple test. Closes #38622. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rtmpdump.rb11
1 files changed, 7 insertions, 4 deletions
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