guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/08: gnu: matio: Add header file.


From: guix-commits
Subject: 01/08: gnu: matio: Add header file.
Date: Thu, 30 Mar 2023 17:19:35 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit f4d7b901db90b029a5d6a1f54699d3ab04ada2af
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Sat Mar 25 15:15:20 2023 +0100

    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>
---
 gnu/packages/maths.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

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/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]