From 5c27f667ca42dbadf5ed93064dd4341da8954d3e Mon Sep 17 00:00:00 2001
From: Olivier Farges <olivier.farges@univ-lorraine.fr>
Date: Mon, 3 Mar 2025 08:53:23 +0100
Subject: [PATCH] add star-geometry-3d

---
 edix/packages/star-geometry-3d.scm | 24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

diff --git a/edix/packages/star-geometry-3d.scm b/edix/packages/star-geometry-3d.scm
index ed2fe04..0d931c7 100644
--- a/edix/packages/star-geometry-3d.scm
+++ b/edix/packages/star-geometry-3d.scm
@@ -15,8 +15,7 @@
   #:use-module (gnu packages check)
   #:use-module (edix packages rsys))
 
-
-(define-public star-vx
+(define-public star-geometry-3d
   (package
     (name "star-geometry-3d")
     (version "0.2") 
@@ -26,31 +25,22 @@
                     (url "https://gitlab.com/meso-star/star-geometry-3d.git")
                     (commit "0.2")))
               (sha256
-               (base32 "1vg05g1q3r9053gz9s43md8rrsaa1bcgaw3frl2cr2wmzab34js3"))))
+               (base32 "1jh0q1lmxc7lp820dzip5i18pr2h1ygsly5iss10593y95d58sj6"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list pkg-config autoconf automake libtool))
-    (inputs
-     (list gcc
-           gfortran
-           bash
-           gnu-make rsys
-           ))
+    (native-inputs (list pkg-config autoconf automake libtool gcc gnu-make))
+    (propagated-inputs (list rsys))
     (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")))
 			    (invoke "make" "install" (string-append "PREFIX=" out))))))))
-
     (home-page "https://meso-star.com/star-geometry-3d") ;; Remplacez avec le bon lien
-    (synopsis "Bibliothèque Star-geometry-3D")
-    (description "Star-geometry-3D")
+    (synopsis "Bibliothèque Star-geometry-3d")
+    (description "Star-geometry-3d")
     (license (list gpl3+))))
+star-geometry-3d
-- 
GitLab