~ruther/guix-local

2509522c4f4be4491418e65b764862a05444f460 — Eric Bavier 8 years ago 9731c41
gnu: suitesparse: Use modify-phases.

* gnu/packages/maths.scm (suitesparse)[arguments]: Use modify-phases.
1 files changed, 8 insertions(+), 9 deletions(-)

M gnu/packages/maths.scm
M gnu/packages/maths.scm => gnu/packages/maths.scm +8 -9
@@ 2448,15 2448,14 @@ Fresnel integrals, and similar related functions as well.")
             (string-append "INSTALL_INCLUDE="
                            (assoc-ref %outputs "out") "/include"))
       #:phases
       (alist-cons-before
        'install 'prepare-out
        ;; README.txt states that the target directories must exist prior to
        ;; running "make install".
        (lambda _
          (mkdir-p (string-append (assoc-ref %outputs "out") "/lib"))
          (mkdir-p (string-append (assoc-ref %outputs "out") "/include")))
        ;; no configure script
        (alist-delete 'configure %standard-phases))))
       (modify-phases %standard-phases
         (delete 'configure)            ;no configure script
         (add-before 'install 'prepare-out
           ;; README.txt states that the target directories must exist prior to
           ;; running "make install".
           (lambda _
             (mkdir-p (string-append (assoc-ref %outputs "out") "/lib"))
             (mkdir-p (string-append (assoc-ref %outputs "out") "/include")))))))
    (inputs
     `(("tbb" ,tbb)
       ("lapack" ,lapack)))