require 'formula' class Ipbt < Formula homepage 'http://www.chiark.greenend.org.uk/~sgtatham/ipbt/' url 'http://www.chiark.greenend.org.uk/~sgtatham/ipbt/ipbt-r9487.tar.gz' sha1 'c4ce632afcefd9d1537567e17e76645f5f4482e8' version 'r9487' def install system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking' system "make install" end test do system "#{bin}/ipbt" end end