aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/intercal.rb
blob: 76b5d427f68b9d6a0ad75a08956c54c9ce28e688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class Intercal < Formula
  homepage 'http://catb.org/esr/intercal/'
  url 'http://overload.intercal.org.uk/c/intercal-0.29.pax.gz'
  sha1 'a1109c97ab0a3ccc5ad181cb6d4b7aa470a69e1d'

  depends_on :autoconf

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end

  def test
    system "#{bin}/convickt"
    system "#{bin}/ick"
  end
end