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

add star-2d

parent 6c05cab9
No related branches found
No related tags found
No related merge requests found
(define-module (edix packages star-2d)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages gcc)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages maths)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (edix packages embree-edix)
#:use-module (edix packages rsys))
(define-public star-2d
(package
(name "star-2d")
(version "0.7")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/meso-star/star-2d.git")
(commit "0.7")))
(sha256
(base32 "11mvswcbdfnxf6zkpj9jgiqfjalknipbyppbpx27nrqrixqx7mah"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config autoconf automake libtool embree-edix))
(inputs
(list gcc
gfortran
bash
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-2d")
(synopsis "Bibliothèque Star-2D")
(description "Star-2D")
(license (list gpl3+))))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment