Ticket #25871: rtmpdump2.3.patch
File rtmpdump2.3.patch, 1.3 KB (added by kthenriksson@…, 14 years ago) |
---|
-
(a) Portfile.txt vs. (b) -
a b 4 4 PortSystem 1.0 5 5 6 6 name rtmpdump 7 version 2.2 8 revision 1 7 version 2.3 9 8 categories www net 10 9 platforms darwin 11 10 depends_lib port:openssl … … 19 18 20 19 homepage http://rtmpdump.mplayerhq.hu/ 21 20 master_sites ${homepage}download/ 21 extract.suffix .tgz 22 22 23 checksums md5 1ce6753c95754d1a72b635d488757096 \ 24 sha1 80ad4878b5b48c59cb6754fac31f811b8a7d399d \ 25 rmd160 673e9baf426d8fe0d32471d101648660080e996d 26 27 use_bzip2 yes 23 checksums md5 eb961f31cd55f0acf5aad1a7b900ef59 \ 24 sha1 b65ce7708ae79adb51d1f43dd0b6d987076d7c42 \ 25 rmd160 1d48925e6567783806fa68819d6a695cd06138bc 28 26 29 27 post-patch { 30 reinplace "s|CC=.*\$|CC=${configure.cc}|" ${worksrcpath}/Makefile 31 reinplace "s|CXX=.*\$|CXX=${configure.cxx}|" ${worksrcpath}/Makefile 28 reinplace "s|soname|dylib_install_name|" ${worksrcpath}/librtmp/Makefile 32 29 } 30 33 31 use_configure no 34 32 35 build. target osx33 build.args CC="${configure.cc}" 36 34 37 35 destroot { 38 36 xinstall -m 755 -W ${worksrcpath} rtmpdump rtmpsuck rtmpsrv rtmpgw ${destroot}${prefix}/bin