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
|
|
|
homepage 'http://ccrypt.sourceforge.net/'
|
2013-06-04 01:41:42 +00:00
|
|
|
url 'http://ccrypt.sourceforge.net/download/ccrypt-1.10.tar.gz'
|
|
|
|
sha1 '95d4e524abb146946fe6af9d53ed0e5e294b34e2'
|
2010-01-02 22:38:09 +00:00
|
|
|
|
2013-06-04 01:41:42 +00:00
|
|
|
fails_with :clang do
|
|
|
|
build 318
|
|
|
|
cause "Tests fail when optimizations are enabled"
|
|
|
|
end
|
2012-04-30 22:33:39 +00:00
|
|
|
|
2013-06-04 01:41:42 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2012-04-30 22:33:39 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-01-02 22:38:09 +00:00
|
|
|
system "make install"
|
|
|
|
system "make check"
|
|
|
|
end
|
|
|
|
end
|