homebrew-core/Formula/ccrypt.rb

20 lines
586 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Ccrypt < Formula
url 'http://ccrypt.sourceforge.net/download/ccrypt-1.9.tar.gz'
homepage 'http://ccrypt.sourceforge.net/'
sha1 '5ad1889c71be905c3004c80dc011948c9c35c814'
def install
# Tests fail with clang (build 318) 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