require 'formula' class Algol68g < Formula homepage 'http://www.xs4all.nl/~jmvdveer/algol.html' url 'http://jmvdveer.home.xs4all.nl/algol68g-2.4.tar.gz' sha1 '80212604dd1ed532635177bb4d17853c8a036189' depends_on 'gsl' => :optional def install system "./configure", "--prefix=#{prefix}" system "make install" end def test system "#{bin}/a68g", "--help" end end