aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/robodoc.rb
blob: 1446b8791c50ca49462057833185b7f262ff0ce3 (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'
  sha1 'f2dfb53c667681bf0c5424be9b14f3a1e7edab9b'

  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