homebrew-core/Formula/botan.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

16 lines
430 B
Ruby

require 'formula'
class Botan <Formula
url 'http://botan.randombit.net/files/Botan-1.8.8.tbz'
homepage 'http://botan.randombit.net/'
md5 'cb7cf79c34414cdf1f7a25569d7b82ac'
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