aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mcrypt.rb
blob: 2e97468f84bc225207266de8bdd76fed143b79f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Mcrypt < Formula
  homepage 'http://mcrypt.sourceforge.net'
  url 'https://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz'
  sha1 '9a426532e9087dd7737aabccff8b91abf9151a7a'

  option :universal

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make install"
  end
end