aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/radamsa.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/radamsa.rb b/Library/Formula/radamsa.rb
new file mode 100644
index 000000000..145b04ff9
--- /dev/null
+++ b/Library/Formula/radamsa.rb
@@ -0,0 +1,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 "radamsa -V"
+ end
+end