a2bafa27f8
Kills ssl2 from OpenSSL. This PR relates to Homebrew/homebrew#31745. Force recompiles everything that relies on OpenSSL from the master branch to enforce the new OpenSSL no-ssl2 rule.
32 lines
923 B
Ruby
32 lines
923 B
Ruby
require 'formula'
|
|
|
|
# Use a newer version instead of the upstream tarball:
|
|
# 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
|
|
|
|
head 'git://git.ffmpeg.org/rtmpdump'
|
|
|
|
depends_on 'openssl'
|
|
|
|
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}",
|
|
"sbindir=#{bin}",
|
|
"install"
|
|
end
|
|
end
|