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
|
|
|
url 'ftp://mirror.internode.on.net/pub/gentoo/distfiles/libmcrypt-2.5.8.tar.gz'
|
|
|
|
homepage 'http://mcrypt.sourceforge.net'
|
|
|
|
md5 '0821830d930a86a5c69110837c55b7da'
|
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
def options
|
|
|
|
[["--universal", "Build a universal binary."]]
|
|
|
|
end
|
|
|
|
|
2009-09-25 16:16:54 +00:00
|
|
|
def install
|
2011-04-21 16:42:27 +00:00
|
|
|
ENV.universal_binary if ARGV.build_universal?
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}", "--mandir=#{man}"
|
2009-09-25 16:16:54 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|