From 0b66274aa1a793a9f5e43c5e875d908dda9c4c55 Mon Sep 17 00:00:00 2001
From: Olivier Farges <olivier.farges@univ-lorraine.fr>
Date: Sun, 2 Mar 2025 09:47:24 +0100
Subject: [PATCH] star-3d-enclosures ok

---
 edix/packages/star-enclosures-3d.scm | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/edix/packages/star-enclosures-3d.scm b/edix/packages/star-enclosures-3d.scm
index 925db1a..bdb5e88 100644
--- a/edix/packages/star-enclosures-3d.scm
+++ b/edix/packages/star-enclosures-3d.scm
@@ -14,6 +14,7 @@
   #:use-module (gnu packages bash)
   #:use-module (gnu packages check)
   #:use-module (edix packages star-3d)
+  #:use-module (edix packages embree-edix)
   #:use-module (edix packages rsys))
 
 
@@ -29,23 +30,14 @@
               (sha256
                (base32 "1jh0q1lmxc7lp820dzip5i18pr2h1ygsly5iss10593y95d58sj6"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list pkg-config autoconf automake libtool))
-    (inputs
-     (list gcc
-           gfortran
-           bash
-           gnu-make rsys star-3d
-           ))
+    (native-inputs (list pkg-config autoconf automake libtool gcc gnu-make))
+    (inputs (list rsys star-3d embree-edix))
     (arguments
    `(#:make-flags (list (string-append "CC=gcc" ))
        #:phases
        (modify-phases %standard-phases
          (delete 'configure) 
          (delete 'check) 
-	(replace 'build
-		 (lambda* (#:key make-flags #:allow-other-keys)
-			  (invoke "make" (string-join make-flags " "))))
 	(replace 'install
 		 (lambda* (#:key outputs #:allow-other-keys)
 			  (let ((out (assoc-ref outputs "out")))
@@ -55,3 +47,4 @@
     (synopsis "Bibliothèque Star-enclosures-3d")
     (description "Star-enclosures-3d")
     (license (list gpl3+))))
+
-- 
GitLab