blob: 6a54454e11f244cfbda2674763a84c3c7166ead1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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
|