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