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

class Robodoc < Formula
  url 'http://rfsber.home.xs4all.nl/Robo/robodoc-4.99.41.tar.gz'
  md5 '986ff954e0ba5a9c407384fc4b05303d'
  homepage 'http://rfsber.home.xs4all.nl/Robo/robodoc.html'
  head 'https://github.com/gumpu/ROBODoc.git'

  if ARGV.build_head? and MacOS.xcode_version >= "4.3"
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  def install
    system "autoreconf", "-f", "-i" if ARGV.build_head?
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end