aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rtmpdump.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-26 22:09:01 -0700
committerAdam Vandenberg2012-08-26 22:09:01 -0700
commit3336332ae327eb6fbef40526ab097f193f0f6e6c (patch)
treec2269ad5c005660b93c85f52b36fb41b038d1e96 /Library/Formula/rtmpdump.rb
parenta197babcc95f4c355a813ff4c342425c8e9feb48 (diff)
downloadhomebrew-3336332ae327eb6fbef40526ab097f193f0f6e6c.tar.bz2
rtmpdump: use new dsl
Diffstat (limited to 'Library/Formula/rtmpdump.rb')
-rw-r--r--Library/Formula/rtmpdump.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/rtmpdump.rb b/Library/Formula/rtmpdump.rb
index 1b4fa0f0f..4d6e656de 100644
--- a/Library/Formula/rtmpdump.rb
+++ b/Library/Formula/rtmpdump.rb
@@ -1,8 +1,8 @@
require 'formula'
class Rtmpdump < Formula
- url 'http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz'
homepage 'http://rtmpdump.mplayerhq.hu'
+ url 'http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz'
md5 'eb961f31cd55f0acf5aad1a7b900ef59'
head 'git://git.ffmpeg.org/rtmpdump'
@@ -10,16 +10,16 @@ class Rtmpdump < Formula
depends_on 'openssl' if MacOS.leopard?
fails_with :llvm do
- # note: as of LLVM build 2336, this still has runtime issues
+ build '2336'
cause "Crashes at runtime"
end
# Use dylib instead of so
- def patches; DATA; end unless ARGV.build_head?
+ def patches; DATA; end unless build.head?
def install
ENV.deparallelize
- sys_type = ARGV.build_head? ? "darwin" : "posix"
+ sys_type = build.head? ? "darwin" : "posix"
system "make", "CC=#{ENV.cc}",
"XCFLAGS=#{ENV.cflags}",
"XLDFLAGS=#{ENV.ldflags}",