2012-05-08 18:15:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Polarssl < Formula
|
|
|
|
homepage 'http://polarssl.org/'
|
2014-02-16 13:31:56 +00:00
|
|
|
url 'https://polarssl.org/download/polarssl-1.3.4-gpl.tgz'
|
|
|
|
sha1 'e43dc467e36ae2761ca2e4fa02c54f5771ee51a1'
|
2012-05-08 18:15:49 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
|
2013-11-13 04:56:02 +00:00
|
|
|
conflicts_with 'md5sha1sum', :because => 'both install conflicting binaries'
|
|
|
|
|
2012-05-08 18:15:49 +00:00
|
|
|
def install
|
|
|
|
system "cmake", ".", *std_cmake_args
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|