diff options
| author | David M. Lee | 2013-01-25 12:14:12 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-30 09:07:24 -0800 |
| commit | bfc722e552e0f62dff7d9e00c3b7962a5c6497ab (patch) | |
| tree | 36fcd85bcad64c9d48d220a40466093cd126b64d /Library/Formula | |
| parent | 7b66cc2b17cc2367a9bb3139b963c98e5d041789 (diff) | |
| download | homebrew-bfc722e552e0f62dff7d9e00c3b7962a5c6497ab.tar.bz2 | |
srtp 1.4.4
Closes #17307.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/srtp.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/srtp.rb b/Library/Formula/srtp.rb new file mode 100644 index 000000000..06d4d42f1 --- /dev/null +++ b/Library/Formula/srtp.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Srtp < Formula + homepage 'http://srtp.sourceforge.net/srtp.html' + url 'http://downloads.sourceforge.net/project/srtp/srtp/1.4.4/srtp-1.4.4.tgz' + sha1 '299c6cfe0c9d6f1804bc5921cfbdb6a6bc76a521' + + def patches + # Add support for building shared libs + "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-libs/libsrtp/files/libsrtp-1.4.4-shared.patch?revision=1.2" + end + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make libsrtp.dylib" + system "make install" # Can't go in parallel of building the dylib + end +end |
