gnu: ocaml-camomile: Install data in the store.

* gnu/packages/ocaml.scm (ocaml-camomile)[arguments]: Fix configuration
to look for and install data in the store.
This commit is contained in:
Julien Lepiller 2019-04-30 10:23:02 +02:00
parent aa7cdc57dc
commit 6215132155
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 8 additions and 1 deletions

View File

@ -2954,7 +2954,14 @@ the plugins facilitate extensibility, and the frontends serve as entry points.")
`(("camlp4" ,camlp4))) `(("camlp4" ,camlp4)))
(arguments (arguments
`(#:build-flags (list "--profile" "realease") `(#:build-flags (list "--profile" "realease")
#:tests? #f)) #:test-target "camomile-test"
#:phases
(modify-phases %standard-phases
(add-before 'build 'fix-usr-share
(lambda* (#:key outputs #:allow-other-keys)
(substitute* '("Camomile/jbuild" "configure.ml")
(("/usr/share") (string-append (assoc-ref outputs "out") "/share")))
#t)))))
(synopsis "Comprehensive Unicode library") (synopsis "Comprehensive Unicode library")
(description "Camomile is a Unicode library for OCaml. Camomile provides (description "Camomile is a Unicode library for OCaml. Camomile provides
Unicode character type, UTF-8, UTF-16, UTF-32 strings, conversion to/from about Unicode character type, UTF-8, UTF-16, UTF-32 strings, conversion to/from about