homebrew-core/Formula/mcrypt.rb

19 lines
535 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Mcrypt < Formula
2011-07-28 16:45:48 +00:00
url 'http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz'
homepage 'http://mcrypt.sourceforge.net'
md5 '0821830d930a86a5c69110837c55b7da'
def options
[["--universal", "Build a universal binary."]]
end
def install
2011-04-21 16:42:27 +00:00
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end