diff mbox series

[bug#61204,v2,1/3] gnu: matio: Add header file.

Message ID 20230325141522.28889-1-ngraves@ngraves.fr
State New
Headers show
Series [bug#61204,v2,1/3] gnu: matio: Add header file. | expand

Commit Message

Nicolas Graves March 25, 2023, 2:15 p.m. UTC
* gnu/packages/maths.scm (matio):
  [arguments] (phases): Add phase install-matioConfig.h.
---
 gnu/packages/maths.scm | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 93afc6ed40..5d8e2f0159 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6056,6 +6056,14 @@  (define-public matio
         (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/")