aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/radamsa.rb
blob: 6fc1469ae5c214f3269b6abe99f9d13ba524aa08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require 'formula'

class Radamsa < Formula
  homepage 'https://code.google.com/p/ouspg/wiki/Radamsa'
  url 'https://ouspg.googlecode.com/files/radamsa-0.3.tar.gz'
  sha1 '94664298b9c5c1563fe4aa7b8fc8530bb6628a51'

  def install
    system "make"
    man1.install "doc/radamsa.1"
    prefix.install Dir['*']
  end

  def caveats; <<-EOS.undent
    The Radamsa binary has been installed.
    The Lisp source code has been copied to:
      #{prefix}/rad

    To be able to recompile the source to C, you will need run:
      $ make get-owl

    Tests can be run with:
      $ make .seal-of-quality

    EOS
  end

  test do
    system bin/"radamsa", "-V"
  end
end