aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorChris Hoffman2010-06-17 09:00:18 -0500
committerAdam Vandenberg2010-06-23 08:40:42 -0700
commit1af2ef1e9aaaa16d9896d7008f964f89817cdcc9 (patch)
tree887c63cba11718b824de230e176607040807083a /Library
parent15cc9ae56bb355669404ad23e9c6eed274193b6d (diff)
downloadhomebrew-1af2ef1e9aaaa16d9896d7008f964f89817cdcc9.tar.bz2
Fix warning on man page installation for mcrypt
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mcrypt.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Formula/mcrypt.rb b/Library/Formula/mcrypt.rb
index 6ce5e47a6..0a5d4d6b7 100644
--- a/Library/Formula/mcrypt.rb
+++ b/Library/Formula/mcrypt.rb
@@ -1,12 +1,15 @@
require 'formula'
class Mcrypt <Formula
- @url='ftp://mirror.internode.on.net/pub/gentoo/distfiles/libmcrypt-2.5.8.tar.gz'
- @homepage='http://mcrypt.sourceforge.net'
- @md5='0821830d930a86a5c69110837c55b7da'
+ url 'ftp://mirror.internode.on.net/pub/gentoo/distfiles/libmcrypt-2.5.8.tar.gz'
+ homepage 'http://mcrypt.sourceforge.net'
+ md5 '0821830d930a86a5c69110837c55b7da'
+
+ aka 'libmcrypt'
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ ENV.universal_binary if ARGV.include? "--universal"
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--mandir=#{man}"
system "make install"
end
end