2010-01-02 22:38:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ccrypt < Formula
|
2010-01-02 22:38:09 +00:00
|
|
|
url 'http://ccrypt.sourceforge.net/download/ccrypt-1.9.tar.gz'
|
|
|
|
homepage 'http://ccrypt.sourceforge.net/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '5ad1889c71be905c3004c80dc011948c9c35c814'
|
2010-01-02 22:38:09 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-01 18:34:21 +00:00
|
|
|
# Tests fail with clang (build 318) at higher optimization
|
2012-04-30 22:33:39 +00:00
|
|
|
ENV.no_optimization if ENV.compiler == :clang
|
|
|
|
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-01-02 22:38:09 +00:00
|
|
|
system "make install"
|
|
|
|
system "make check"
|
|
|
|
end
|
|
|
|
end
|