summary refs log tree commit diff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2023-03-25 15:15:20 +0100
committerLudovic Courtès <ludo@gnu.org>2023-03-30 23:18:16 +0200
commitf4d7b901db90b029a5d6a1f54699d3ab04ada2af (patch)
tree0a8d631dfcc18ab88403d6bb4b57a367c1420d80 /gnu/packages/maths.scm
parent42b938ae8c3286ceac561d7a53b8a373297c4b54 (diff)
downloadguix-f4d7b901db90b029a5d6a1f54699d3ab04ada2af.tar.gz
gnu: matio: Add header file.
* gnu/packages/maths.scm (matio):
  [arguments] (phases): Add phase install-matioConfig.h.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 95bd5a6578..bb88873a0d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6056,6 +6056,14 @@ structured and unstructured grid problems.")))
         (base32
          "0vr8c1mz1k6mz0sgh6n3scl5c3a71iqmy5fnydrgq504icj4vym4"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'install 'install-matioConfig.h
+            (lambda _
+              (install-file "src/matioConfig.h"
+                            (string-append #$output "/include")))))))
     (inputs
      (list zlib hdf5-1.8))
     (home-page "http://matio.sourceforge.net/")