aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/robodoc.rb
blob: d79082c669fa552de19f08f069a11d13a5459e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 do
    url 'https://github.com/gumpu/ROBODoc.git'

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

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