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/'
|
|
|
|
md5 'c3f78019d7a166dd66f1d4b1390c62c2'
|
|
|
|
|
|
|
|
def install
|
2012-04-30 22:33:39 +00:00
|
|
|
# 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}"
|
2010-01-02 22:38:09 +00:00
|
|
|
system "make install"
|
|
|
|
system "make check"
|
|
|
|
end
|
|
|
|
end
|