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

class When < Formula
  homepage 'http://www.lightandmatter.com/when/when.html'
  url 'http://www.lightandmatter.com/when/when_1.1.31-debian-source.tar.gz'
  version '1.1.31'
  sha1 '2d986aadac5667b7eb50940a6aa547d50c9f8f82'

  def install
    # Double-gzipped.
    system "tar xvf when_1.1.31.orig.tar.gz"
    cd "when-1.1.31" do
      prefix.install_metafiles
      bin.install 'when'
      man1.install 'when.1'
    end
  end
end