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

class Polarssl < Formula
  homepage 'http://polarssl.org/'
  url 'http://polarssl.org/code/releases/polarssl-1.2.3-gpl.tgz'
  sha1 'b47b3db19c4487c5930eaec23dda0dbd24851146'

  depends_on 'cmake' => :build

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