diff options
| -rw-r--r-- | Library/Formula/rancid.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/rancid.rb b/Library/Formula/rancid.rb new file mode 100644 index 000000000..1b020a0ff --- /dev/null +++ b/Library/Formula/rancid.rb @@ -0,0 +1,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 |
