Skip to content

Instantly share code, notes, and snippets.

@technolize
Created November 25, 2010 15:30
require 'formula'
class Pfff <Formula
url 'https://github.com/facebook/pfff/tarball/RELEASE-0.13'
homepage 'https://github.com/facebook/pfff'
md5 '82e19f8d2f7639e5ec519587cfdf82a4'
head 'git://github.com/facebook/pfff.git'
depends_on 'objective-caml'
depends_on 'pcre'
depends_on 'gtk+' => :optional
depends_on 'libsvg-cairo' => :optional
def install
system "./configure", "--prefix=/usr/local/Cellar/pfff/0.13"
system "make depend"
system "make"
bin.install "pfff"
bin.install "sgrep"
bin.install "spatch"
bin.install "scheck"
bin.install "stags"
bin.install "codemap"
bin.install "pfff_db_light"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment