2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-25 16:16:54 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Mcrypt < Formula
|
2010-06-17 14:00:18 +00:00
|
|
|
homepage 'http://mcrypt.sourceforge.net'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '9a426532e9087dd7737aabccff8b91abf9151a7a'
|
2010-06-17 14:00:18 +00:00
|
|
|
|
2012-08-12 17:57:18 +00:00
|
|
|
option :universal
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2009-09-25 16:16:54 +00:00
|
|
|
def install
|
2012-08-12 17:57:18 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2013-01-29 05:39:03 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2009-09-25 16:16:54 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|