homebrew-core/Formula/rtmpdump.rb
Steven Penny 970d7c8bfe RtmpDump: use upstream tarball
Closes Homebrew/homebrew#17566.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-03 18:01:47 -08:00

28 lines
697 B
Ruby

require 'formula'
class Rtmpdump < Formula
homepage 'http://rtmpdump.mplayerhq.hu'
url 'http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.4.tar.gz'
sha1 '975f8c79788d1f9fcc66f572509f0203982b17ac'
version '2.4'
head 'git://git.ffmpeg.org/rtmpdump'
depends_on 'openssl' if MacOS.version == :leopard
fails_with :llvm do
build '2336'
cause "Crashes at runtime"
end
def install
ENV.deparallelize
system "make", "CC=#{ENV.cc}",
"XCFLAGS=#{ENV.cflags}",
"XLDFLAGS=#{ENV.ldflags}",
"MANDIR=#{man}",
"SYS=darwin",
"prefix=#{prefix}",
"install"
end
end