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

class Rancid < Formula
  homepage 'http://www.shrubbery.net/rancid/'
  url 'ftp://ftp.shrubbery.net/pub/rancid/rancid-2.3.8.tar.gz'
  sha1 '7469d7f9e39e9f86f977f1f0963300e5d183088f'

  def install
    system "./configure", "--prefix=#{prefix}", "--exec-prefix=#{prefix}", "--mandir=#{man}"
    system "make"
    system "make install"
  end

 def test
   system "#{bin}/rancid", "localhost"
 end

end