Skip to content

Commit

Permalink
srtp 1.5.2
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#39818.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
dunn authored and MikeMcQuaid committed May 18, 2015
1 parent 4b89625 commit b3b6973
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions Formula/srtp.rb
@@ -1,9 +1,9 @@
require 'formula'

class Srtp < Formula
homepage 'https://github.com/cisco/libsrtp'
url 'https://codeload.github.com/cisco/libsrtp/tar.gz/v1.5.0'
sha1 'fbace084aa58dddc295e15aeab80208f154b4f16'
homepage "https://github.com/cisco/libsrtp"
url "https://github.com/cisco/libsrtp/archive/v1.5.2.tar.gz"
sha256 "86e1efe353397c0751f6bdd709794143bd1b76494412860f16ff2b6d9c304eda"

head "https://github.com/cisco/libsrtp.git"

bottle do
cellar :any
Expand All @@ -12,17 +12,10 @@ class Srtp < Formula
sha1 "079bb268a4ccd761d073d3b4f0eed0d2411bdcaa" => :mountain_lion
end

# Add support for building shared libs
patch do
# Submitted upstream at https://github.com/cisco/libsrtp/pull/86
url "http://arunraghavan.net/downloads/brew/srtp-shared-library.patch"
sha1 "f44ff924a9e14826add202168f61843c1d88ddd4"
end

def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
system "./configure", "--disable-debug",
"--prefix=#{prefix}"
system "make shared_library"
system "make install" # Can't go in parallel of building the dylib
system "make", "shared_library"
system "make", "install" # Can't go in parallel of building the dylib
end
end

0 comments on commit b3b6973

Please sign in to comment.