diff options
| author | Anil Madhavapeddy | 2014-10-27 18:43:53 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-28 08:26:18 +0000 |
| commit | a6c6458b1e9395005789cb416b4e191f385a803a (patch) | |
| tree | 80b8e5e04051e8dc913da80dc0d778a551e1671b /Library/Formula | |
| parent | 782247d548ee824d0c6f4009cbf5b1f9b2a7fc0d (diff) | |
| download | homebrew-a6c6458b1e9395005789cb416b4e191f385a803a.tar.bz2 | |
camlp4 4.02.1+1
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/camlp4.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/camlp4.rb b/Library/Formula/camlp4.rb new file mode 100644 index 000000000..0eb0a7d67 --- /dev/null +++ b/Library/Formula/camlp4.rb @@ -0,0 +1,20 @@ +require "formula" + +class Camlp4 < Formula + homepage "https://github.com/ocaml/camlp4" + url "https://github.com/ocaml/camlp4/archive/4.02.1+1.tar.gz" + sha1 "7d0f879517887299167f1c3eefa8f4d266d69183" + head "https://github.com/ocaml/camlp4.git" + + depends_on "objective-caml" + + def install + # this build fails if jobs are parallelized + ENV.deparallelize + system "./configure", "--bindir=#{bin}", + "--libdir=#{HOMEBREW_PREFIX}/lib/ocaml", + "--pkgdir=#{HOMEBREW_PREFIX}/lib/ocaml/camlp4" + system "make", "all" + system "make", "install" + end +end |
