gnu: camlp5: install META file.

* gnu/packages/ocaml.scm (camlp5) [phases]: New install-meta phase.
This commit is contained in:
Julien Lepiller 2017-10-21 15:54:04 +02:00
parent 3d679ab1e5
commit 07b4cd3a48
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C

View File

@ -401,7 +401,12 @@ syntax of OCaml.")
(lambda _
(zero? (system* "make" "-j" (number->string
(parallel-job-count))
"world.opt")))))))
"world.opt"))))
;; Required for findlib to find camlp5's libraries
(add-after 'install 'install-meta
(lambda* (#:key outputs #:allow-other-keys)
(install-file "etc/META" (string-append (assoc-ref outputs "out")
"/lib/ocaml/camlp5/")))))))
(home-page "http://camlp5.gforge.inria.fr/")
(synopsis "Pre-processor Pretty Printer for OCaml")
(description