aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/coccinelle.rb
blob: bbc8997b3a51e2e5adb25399f09b0a068b16c9a7 (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
require 'formula'

class Coccinelle < Formula
  homepage 'http://coccinelle.lip6.fr/'
  url 'http://coccinelle.lip6.fr/distrib/coccinelle-1.0.0-rc21.tgz'
  sha1 'edc008da552eb8f4ef7712fc99b4dc630ab6fb35'

  bottle do
    sha1 "907762ffd74c58637cfc1968c0812cf324ad8ac1" => :yosemite
    sha1 "4d2f9a8af8dca8cce0a3e65c44afc70e38fe7218" => :mavericks
    sha1 "ef567b84ce5bd101e3993e162855e4e88d1f3600" => :mountain_lion
  end

  depends_on "objective-caml"
  depends_on "camlp4"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--enable-ocaml",
                          "--enable-opt",
                          "--prefix=#{prefix}"
    system "make"
    system "make", "install"
  end
end