aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rancid.rb
blob: 6a9b0bf21de7e611c3853d798248955164ede50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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