aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/polarssl.rb18
1 files changed, 11 insertions, 7 deletions
diff --git a/Library/Formula/polarssl.rb b/Library/Formula/polarssl.rb
index 4ca8de631..7f8200082 100644
--- a/Library/Formula/polarssl.rb
+++ b/Library/Formula/polarssl.rb
@@ -1,17 +1,21 @@
-require 'formula'
+require "formula"
class Polarssl < Formula
- homepage 'http://polarssl.org/'
- url 'https://polarssl.org/download/polarssl-1.3.7-gpl.tgz'
- sha1 '4bfce7f2e833bead53ecd38098325a784ada5c39'
+ homepage "https://polarssl.org/"
+ url "https://polarssl.org/download/polarssl-1.3.8-gpl.tgz"
+ sha1 "82ed8ebcf3dd53621da5395b796fc0917083691d"
- depends_on 'cmake' => :build
+ head "https://github.com/polarssl/polarssl.git"
- conflicts_with 'md5sha1sum', :because => 'both install conflicting binaries'
+ depends_on "cmake" => :build
+
+ conflicts_with "md5sha1sum", :because => "both install conflicting binaries"
def install
system "cmake", ".", *std_cmake_args
system "make"
- system "make install"
+ system "make", "install"
+ # Why does PolarSSL ship with GNU's Hello included? Let's remove that.
+ rm "#{bin}/hello"
end
end