aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/beecrypt.rb
blob: aed07b86d845fcbd8944f768c6aa10a729661992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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