homebrew-core/Formula/ccrypt.rb
Jack Nagel 60d187836a ccrypt: fix build with clang
Fixes Homebrew/homebrew#11934.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-30 17:33:39 -05:00

19 lines
565 B
Ruby

require 'formula'
class Ccrypt < Formula
url 'http://ccrypt.sourceforge.net/download/ccrypt-1.9.tar.gz'
homepage 'http://ccrypt.sourceforge.net/'
md5 'c3f78019d7a166dd66f1d4b1390c62c2'
def install
# Tests fail with clang at higher optimization
ENV.no_optimization if ENV.compiler == :clang
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
system "make check"
end
end