Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edix-channel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FARGES Olivier
edix-channel
Commits
88b462c2
Verified
Commit
88b462c2
authored
3 months ago
by
FARGES Olivier
Browse files
Options
Downloads
Patches
Plain Diff
debug star-enclosures-3d
parent
1b2492ab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
edix/packages/star-3d.scm
+42
-2
42 additions, 2 deletions
edix/packages/star-3d.scm
with
42 additions
and
2 deletions
edix/packages/star-3d.scm
+
42
−
2
View file @
88b462c2
...
...
@@ -49,6 +49,25 @@
(
let
((
out
(
assoc-ref
outputs
"out"
)))
(
invoke
"make"
"install"
(
string-append
"PREFIX="
out
)))))
;(add-after 'install 'install-pc-file
; (lambda* (#:key outputs #:allow-other-keys)
; (let* ((out (assoc-ref outputs "out"))
; (libdir (string-append out "/lib"))
; (pkgdir (string-append libdir "/pkgconfig"))
; (included (string-append out "/include"))
; (pc-file (string-append pkgdir "/s3d.pc")))
; (mkdir-p pkgdir)
;; On écrit s3d.pc tel que vous l’avez montré :
; (call-with-output-file pc-file
; (lambda (port)
; (add-after 'install 'install-pkg-config
; (lambda* (#:key outputs #:allow-other-keys)
; (let* ((out (assoc-ref outputs "out"))
...
...
@@ -62,12 +81,33 @@
; (format #t "libdir=${exec_prefix}/lib~%")
; (format #t "includedir=${prefix}/include~%")
; (format #t "~%")
; (format #t "Name: s3d~%")
; (format #t "Requires: rsys >= 0.14~%")
; (format #t "Requires: >= 0.14~%")
; (format #t "Name: Star-3D~%")
; (format #t "Description: 3D simulation library~%")
; (format #t "Version: 0.10~%")
; (format #t "Cflags: -I${includedir}~%")
; (format #t "Libs: -L${libdir} -ls3d~%"))))))
)))
; (format #t "prefix=~a~%" out)
; (format #t "includedir=${prefix}/include~%")
; (format #t "libdir=${prefix}/lib~%~%")
; (format #t "Requires: rsys >= 0.14~%")
; (format #t "Requires.private: embree4 >= 4.0~%")
; (format #t "Name: Star-3D~%")
; (format #t "Description: Star-3D library~%")
;; Utilisez ~a pour insérer la variable `version` :
; (format #t "Version: 0.10~%")
; (format #t "Libs: -L${libdir} -ls3d~%")
; (format #t "Libs.private: -lm~%")
; (format #t "CFlags: -I${includedir}~%"))))))
)))
(
home-page
"https://meso-star.com/star-3d"
)
;; Remplacez avec le bon lien
(
synopsis
"Bibliothèque Star-3D"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment