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

class Botan <Formula
  url 'http://botan.randombit.net/files/Botan-1.8.9.tbz'
  homepage 'http://botan.randombit.net/'
  md5 '2c1c55ae4f5bae9f6ad516e1ada2100f'

  def install
    inreplace 'src/build-data/makefile/unix_shr.in' do |s|
      s.change_make_var! 'SONAME', "#{lib}/$(LIBNAME)-$(SO_VERSION).%{so_suffix}"
    end

    system "./configure.py", "--prefix=#{prefix}"
    system "make install"
  end
end