diff options
| author | dinkypumpkin | 2012-01-30 10:54:38 +0000 |
|---|---|---|
| committer | Jack Nagel | 2012-02-06 21:04:05 -0600 |
| commit | 3579d800b64526044743729d762a6438f7b74b03 (patch) | |
| tree | ec113d094173830b45e9403e36fceb00deb24782 /Library/Formula | |
| parent | 7f42648a61d0896310f74c87f7331683bf9da8de (diff) | |
| download | homebrew-3579d800b64526044743729d762a6438f7b74b03.tar.bz2 | |
rtmpdump: add HEAD
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rtmpdump.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/rtmpdump.rb b/Library/Formula/rtmpdump.rb index d822d1734..2d861a7cd 100644 --- a/Library/Formula/rtmpdump.rb +++ b/Library/Formula/rtmpdump.rb @@ -5,21 +5,24 @@ class Rtmpdump < Formula homepage 'http://rtmpdump.mplayerhq.hu' md5 'eb961f31cd55f0acf5aad1a7b900ef59' + head 'git://git.ffmpeg.org/rtmpdump' + depends_on 'openssl' if MacOS.leopard? # note: as of LLVM build 2336, this still has runtime issues fails_with_llvm "Crashes at runtime" # Use dylib instead of so - def patches; DATA; end + def patches; DATA; end unless ARGV.build_head? def install ENV.deparallelize + sys_type = ARGV.build_head? ? "darwin" : "posix" system "make", "CC=#{ENV.cc}", "XCFLAGS=#{ENV.cflags}", "XLDFLAGS=#{ENV.ldflags}", "MANDIR=#{man}", - "SYS=posix", + "SYS=#{sys_type}", "prefix=#{prefix}", "install" end |
