aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/polarssl.rb
blob: 91a2821e3d5ceb1caad9ee3f6803d44b8c4a4394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Polarssl < Formula
  homepage 'http://polarssl.org/'
  url 'https://polarssl.org/download/polarssl-1.3.2-gpl.tgz'
  sha1 '2e671bb1bc60ce00db2352be63c4ea38ad2c8b03'

  depends_on 'cmake' => :build

  conflicts_with 'md5sha1sum', :because => 'both install conflicting binaries'

  def install
    system "cmake", ".",  *std_cmake_args
    system "make"
    system "make install"
  end
end