aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-01-28 13:08:49 +0100
committerMike McQuaid2015-01-30 09:02:00 +0000
commit32551a40e56c5cf1d9f7bebd1cd88ddfd04abb98 (patch)
treed8dfd0e171f7a11b9668780a26764c1e8dccd7b0 /Library
parentdf3e5352a5c3a95829a3d8981d43eab519442ee1 (diff)
downloadhomebrew-32551a40e56c5cf1d9f7bebd1cd88ddfd04abb98.tar.bz2
why3 0.85 (new formula)
Closes #36314. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/why3.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/why3.rb b/Library/Formula/why3.rb
new file mode 100644
index 000000000..6de8249aa
--- /dev/null
+++ b/Library/Formula/why3.rb
@@ -0,0 +1,22 @@
+class Why3 < Formula
+ homepage "http://why3.lri.fr/"
+ url "https://gforge.inria.fr/frs/download.php/file/34074/why3-0.85.tar.gz"
+ sha1 "c8d5f56c80f936a667ea2719baa99bb84a5f05ca"
+
+ depends_on "objective-caml"
+ depends_on "coq" => :optional
+ depends_on "lablgtk" => :optional
+ depends_on "hevea" => [:build, :optional]
+ depends_on "rubber" => :build
+
+ def install
+ system "./configure", "--enable-verbose-make",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/why3", "config", "--detect", "--dont-save"
+ end
+end