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

class Robodoc < Formula
  homepage 'http://rfsber.home.xs4all.nl/Robo/robodoc.html'
  url 'http://rfsber.home.xs4all.nl/Robo/robodoc-4.99.41.tar.gz'
  md5 '986ff954e0ba5a9c407384fc4b05303d'

  head 'https://github.com/gumpu/ROBODoc.git'

  if build.head?
    depends_on :automake
    depends_on :libtool
  end

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