homebrew-core/Formula/rtmpdump.rb
2013-02-07 11:52:52 -08:00

27 lines
681 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'
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