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

class Udis86 < Formula
  homepage 'http://udis86.sourceforge.net'
  url 'http://downloads.sourceforge.net/udis86/udis86-1.7.tar.gz'
  md5 'e279108e10f774e6c3af83caa18f5dc3'

  option :universal

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--prefix=#{prefix}",
                          "--enable-shared"
    system "make"
    system "make install"
  end
end