homebrew-core/Formula/beecrypt.rb

21 lines
608 B
Ruby
Raw Normal View History

require 'formula'
class Beecrypt < Formula
url 'http://sourceforge.net/projects/beecrypt/files/beecrypt/4.2.1/beecrypt-4.2.1.tar.gz'
homepage 'http://beecrypt.sourceforge.net'
sha256 '286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d'
depends_on "icu4c"
def install
# Compilation fails if we allow Homebrew to set CFLAGS/CPPFLAGS/CXXFLAGS.
ENV.delete "CFLAGS"
ENV.delete "CPPFLAGS"
ENV.delete "CXXFLAGS"
system "./configure", "--prefix=#{prefix}", "--disable-openmp", "--without-java", "--without-python"
system "make"
system "make install"
end
end