[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/14: gnu: camlp4-4.02: Use INVOKE.
From: |
guix-commits |
Subject: |
03/14: gnu: camlp4-4.02: Use INVOKE. |
Date: |
Fri, 25 Jan 2019 08:02:33 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 2c0234e78ea86059fb75a1260228a61a524597b4
Author: Ricardo Wurmus <address@hidden>
Date: Fri Jan 25 13:26:24 2019 +0100
gnu: camlp4-4.02: Use INVOKE.
* gnu/packages/ocaml.scm (camlp4-4.02)[arguments]: Use INVOKE in build
phases.
---
gnu/packages/ocaml.scm | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index cf6580e..eb298c8 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -447,26 +447,26 @@ Git-friendly development workflow.")
;; which fails on the second attempt.
#:parallel-build? #f
#:make-flags '("all")
- #:phases (modify-phases %standard-phases
- (replace
- 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- ;; This is a home-made 'configure' script.
- (let ((out (assoc-ref outputs "out")))
- (zero? (system* "./configure"
- (string-append "--libdir=" out
- "/lib/ocaml/site-lib")
- (string-append "--bindir=" out "/bin")
- (string-append "--pkgdir=" out
-
"/lib/ocaml/site-lib"))))))
- (add-after 'install 'install-meta
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "camlp4/META.in"
- (("directory = .*")
- (string-append "directory = \"" out
- "/lib/ocaml/site-lib/camlp4\"\n")))
- (zero? (system* "make" "install-META"))))))))
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; This is a home-made 'configure' script.
+ (let ((out (assoc-ref outputs "out")))
+ (invoke "./configure"
+ (string-append "--libdir=" out
+ "/lib/ocaml/site-lib")
+ (string-append "--bindir=" out "/bin")
+ (string-append "--pkgdir=" out
+ "/lib/ocaml/site-lib")))))
+ (add-after 'install 'install-meta
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "camlp4/META.in"
+ (("directory = .*")
+ (string-append "directory = \"" out
+ "/lib/ocaml/site-lib/camlp4\"\n")))
+ (invoke "make" "install-META")))))))
(home-page "https://github.com/ocaml/camlp4")
(synopsis "Write parsers in OCaml")
(description
- branch master updated (20fe972 -> c6e33df), guix-commits, 2019/01/25
- 06/14: gnu: ocaml-utop: Use INVOKE., guix-commits, 2019/01/25
- 05/14: gnu: ocaml-zed: Use INVOKE., guix-commits, 2019/01/25
- 04/14: gnu: ocaml-zarith: Use INVOKE., guix-commits, 2019/01/25
- 03/14: gnu: camlp4-4.02: Use INVOKE.,
guix-commits <=
- 02/14: gnu: ocaml-4.01: Use INVOKE., guix-commits, 2019/01/25
- 13/14: gnu: python2-pyqt-4: Use INVOKE., guix-commits, 2019/01/25
- 10/14: gnu: tevent: Use INVOKE., guix-commits, 2019/01/25
- 01/14: gnu: ocaml-4.02: Use INVOKE., guix-commits, 2019/01/25
- 09/14: gnu: talloc/static: Use INVOKE., guix-commits, 2019/01/25
- 07/14: gnu: python-rdflib: Use PYPI-URI., guix-commits, 2019/01/25
- 08/14: gnu: tre: Use INVOKE., guix-commits, 2019/01/25
- 14/14: gnu: python-pyopenssl: Update to 19.0.0., guix-commits, 2019/01/25
- 12/14: gnu: qwt: Use INVOKE., guix-commits, 2019/01/25
- 11/14: gnu: ldb: Use INVOKE., guix-commits, 2019/01/25