From 40029cbe309fecda24e67d55ccd5fca505f35d68 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Thu, 12 Mar 2015 22:16:12 +0100 Subject: gnu: hdf5: Combine all outputs into one. * gnu/packages/maths.scm (hdf5): Combine the outputs "out", "bin", "lib" and "include" into "out". (gmsh, octave): Adapt list of inputs. --- gnu/packages/maths.scm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index c1f270a721..32fd448661 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -325,7 +325,6 @@ plotting engine by third-party applications like Octave.") (substitute* "configure" (("/bin/mv") "mv"))) %standard-phases))) - (outputs '("out" "bin" "lib" "include")) (home-page "http://www.hdfgroup.org") (synopsis "Management suite for extremely large and complex data") (description "HDF5 is a suite that makes possible the management of @@ -358,8 +357,7 @@ extremely large and complex data collections.") ("fltk" ,fltk) ("fontconfig" ,fontconfig) ("freetype" ,freetype) - ("hdf5-lib" ,hdf5 "lib") - ("hdf5-include" ,hdf5 "include") + ("hdf5" ,hdf5) ("libxft" ,libxft) ("mesa" ,mesa) ("zlib" ,zlib))) @@ -411,8 +409,7 @@ files.") `(("fltk" ,fltk) ("gfortran" ,gfortran-4.8) ("gmp" ,gmp) - ("hdf5-lib" ,hdf5 "lib") - ("hdf5-include" ,hdf5 "include") + ("hdf5" ,hdf5) ("lapack" ,lapack) ("mesa" ,mesa) ("glu" ,glu) @@ -1098,7 +1095,7 @@ Fresnel integrals, and similar related functions as well.") (srfi srfi-1) (guix build gnu-build-system) (guix build utils)) - #:configure-flags + #:configure-flags `(;; Generate position independent code suitable for dynamic libraries ;; and use WALL timer to get more accurate timing. "-Fa" "alg" "-fPIC" "-D" "c" "-DWALL" @@ -1125,10 +1122,10 @@ Fresnel integrals, and similar related functions as well.") (alist-cons-after 'install 'install-doc (lambda* (#:key outputs inputs #:allow-other-keys) - (let ((doc (string-append (assoc-ref outputs "doc") + (let ((doc (string-append (assoc-ref outputs "doc") "/share/doc/atlas"))) (mkdir-p doc) - (fold (lambda (file previous) + (fold (lambda (file previous) (and previous (zero? (system* "cp" file doc)))) #t (find-files "../ATLAS/doc" ".*")))) (alist-cons-after -- cgit v1.2.3