2009-11-17 01:46:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Algol68g < Formula
|
2009-11-17 01:46:47 +00:00
|
|
|
homepage 'http://www.xs4all.nl/~jmvdveer/algol.html'
|
2013-07-16 21:26:14 +00:00
|
|
|
url 'http://jmvdveer.home.xs4all.nl/algol68g-2.7.tar.gz'
|
|
|
|
sha1 'b12f9ec9a70297f289b8e59c990788c08b11d759'
|
2009-11-17 01:46:47 +00:00
|
|
|
|
2012-03-04 04:22:59 +00:00
|
|
|
depends_on 'gsl' => :optional
|
|
|
|
|
2009-11-17 01:46:47 +00:00
|
|
|
def install
|
2012-03-04 04:22:59 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2009-11-17 01:46:47 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2012-03-04 03:54:50 +00:00
|
|
|
|
|
|
|
def test
|
|
|
|
system "#{bin}/a68g", "--help"
|
|
|
|
end
|
2009-11-17 01:46:47 +00:00
|
|
|
end
|