2013-07-31 11:22:58 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Coccinelle < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Program matching and transformation engine for C code"
|
2013-07-31 11:22:58 +00:00
|
|
|
homepage 'http://coccinelle.lip6.fr/'
|
2014-09-22 23:37:38 +00:00
|
|
|
url 'http://coccinelle.lip6.fr/distrib/coccinelle-1.0.0-rc21.tgz'
|
|
|
|
sha1 'edc008da552eb8f4ef7712fc99b4dc630ab6fb35'
|
2015-07-31 17:57:56 +00:00
|
|
|
revision 1
|
2013-07-31 11:22:58 +00:00
|
|
|
|
2014-10-27 21:10:33 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "907762ffd74c58637cfc1968c0812cf324ad8ac1" => :yosemite
|
|
|
|
sha1 "4d2f9a8af8dca8cce0a3e65c44afc70e38fe7218" => :mavericks
|
|
|
|
sha1 "ef567b84ce5bd101e3993e162855e4e88d1f3600" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2013-07-31 11:22:58 +00:00
|
|
|
depends_on "objective-caml"
|
2014-10-27 19:37:16 +00:00
|
|
|
depends_on "camlp4"
|
2013-07-31 11:22:58 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--enable-ocaml",
|
|
|
|
"--enable-opt",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|