diff options
| author | Alessandro Decina | 2010-07-30 23:40:25 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-30 14:47:11 -0700 |
| commit | a6fcba2ef6d3fa113a295858d00dfdc69cfca1e1 (patch) | |
| tree | 7b642621926d959cbc70ae30ae33d03d0f211e4d | |
| parent | bb861658a70681269a692c516d956e8162330eb5 (diff) | |
| download | homebrew-a6fcba2ef6d3fa113a295858d00dfdc69cfca1e1.tar.bz2 | |
rtmpdump - update to version 2.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/rtmpdump.rb | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/Library/Formula/rtmpdump.rb b/Library/Formula/rtmpdump.rb index 9958b4322..fb7db014f 100644 --- a/Library/Formula/rtmpdump.rb +++ b/Library/Formula/rtmpdump.rb @@ -1,13 +1,48 @@ require 'formula' class Rtmpdump <Formula - url 'http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.2e.tar.gz' - version '2.2e' + url 'http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz' + version '2.3' homepage 'http://rtmpdump.mplayerhq.hu' - md5 '10681c2fe41194a97d508d0e6bbfe74f' + md5 'eb961f31cd55f0acf5aad1a7b900ef59' + + def patches + DATA + end def install - system "make SYS=posix" - bin.install ['rtmpdump', 'rtmpgw', 'rtmpsrv', 'rtmpsuck'] + ENV.j1 + system "make DESTDIR=#{prefix} MANDIR=#{man} SYS=posix install" end -end
\ No newline at end of file +end +__END__ +--- rtmpdump-2.3/librtmp/Makefile.orig 2010-07-30 23:05:25.000000000 +0200 ++++ rtmpdump-2.3/librtmp/Makefile 2010-07-30 23:08:23.000000000 +0200 +@@ -25,7 +25,7 @@ + CRYPTO_REQ=$(REQ_$(CRYPTO)) + CRYPTO_DEF=$(DEF_$(CRYPTO)) + +-SO_posix=so.0 ++SO_posix=dylib + SO_mingw=dll + SO_EXT=$(SO_$(SYS)) + +@@ -61,7 +61,7 @@ + $(AR) rs $@ $? + + librtmp.$(SO_EXT): $(OBJS) +- $(CC) -shared -Wl,-soname,$@ $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB) ++ $(CC) -shared $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB) + ln -sf $@ librtmp.so + + log.o: log.c log.h Makefile +@@ -87,5 +87,8 @@ + cp librtmp.so.0 $(LIBDIR) + cd $(LIBDIR); ln -sf librtmp.so.0 librtmp.so + ++install_dylib: librtmp.dylib ++ cp librtmp.dylib $(LIBDIR) ++ + install_dll: librtmp.dll + cp librtmp.dll $(BINDIR) + |
