2013-07-31 11:22:58 +00:00
|
|
|
class Coccinelle < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Program matching and transformation engine for C code"
|
2015-08-01 04:15:45 +00:00
|
|
|
homepage "http://coccinelle.lip6.fr/"
|
|
|
|
url "http://coccinelle.lip6.fr/distrib/coccinelle-1.0.0-rc21.tgz"
|
|
|
|
sha256 "a6609a1f800f84d058c9b395edd0597171594b685f551a9b9c03728a1b416783"
|
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
|
2015-07-31 18:50:41 +00:00
|
|
|
sha256 "8345aa22d8966d5a812a09c7eba291e3b4c62ca233795f2f4ac1ad7f5f718098" => :yosemite
|
|
|
|
sha256 "7a6ab8f68cc53737b6f64246d720aa4090246014f9309e69293e0c5516193f62" => :mavericks
|
|
|
|
sha256 "8a91d91164c21682355d050b84752a672d725027df95a32654a53aea02ff394f" => :mountain_lion
|
2014-10-27 21:10:33 +00:00
|
|
|
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
|