Skip to content
Snippets Groups Projects
Verified Commit 5c27f667 authored by FARGES Olivier's avatar FARGES Olivier
Browse files

add star-geometry-3d

parent 398ee01c
Branches
No related tags found
No related merge requests found
...@@ -15,8 +15,7 @@ ...@@ -15,8 +15,7 @@
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module (edix packages rsys)) #:use-module (edix packages rsys))
(define-public star-geometry-3d
(define-public star-vx
(package (package
(name "star-geometry-3d") (name "star-geometry-3d")
(version "0.2") (version "0.2")
...@@ -26,31 +25,22 @@ ...@@ -26,31 +25,22 @@
(url "https://gitlab.com/meso-star/star-geometry-3d.git") (url "https://gitlab.com/meso-star/star-geometry-3d.git")
(commit "0.2"))) (commit "0.2")))
(sha256 (sha256
(base32 "1vg05g1q3r9053gz9s43md8rrsaa1bcgaw3frl2cr2wmzab34js3")))) (base32 "1jh0q1lmxc7lp820dzip5i18pr2h1ygsly5iss10593y95d58sj6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs (list pkg-config autoconf automake libtool gcc gnu-make))
(list pkg-config autoconf automake libtool)) (propagated-inputs (list rsys))
(inputs
(list gcc
gfortran
bash
gnu-make rsys
))
(arguments (arguments
`(#:make-flags (list (string-append "CC=gcc" )) `(#:make-flags (list (string-append "CC=gcc" ))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(delete 'check) (delete 'check)
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(invoke "make" (string-join make-flags " "))))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(invoke "make" "install" (string-append "PREFIX=" out)))))))) (invoke "make" "install" (string-append "PREFIX=" out))))))))
(home-page "https://meso-star.com/star-geometry-3d") ;; Remplacez avec le bon lien (home-page "https://meso-star.com/star-geometry-3d") ;; Remplacez avec le bon lien
(synopsis "Bibliothèque Star-geometry-3D") (synopsis "Bibliothèque Star-geometry-3d")
(description "Star-geometry-3D") (description "Star-geometry-3d")
(license (list gpl3+)))) (license (list gpl3+))))
star-geometry-3d
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment