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

class Botan < Formula
  url 'http://files.randombit.net/botan/v1.10/Botan-1.10.1.tbz'
  homepage 'http://botan.randombit.net/'
  md5 '7ae93e205491a8e75115bfca983ff7f9'

  def install
    args = ["--prefix=#{prefix}"]
    args << "--cpu=x86_64" if MacOS.prefer_64_bit?

    system "./configure.py", *args
    system "make install"
  end
end