me
/
guix
Archived
1
0
Fork 0

gnu: scilab: Use gexp for tcl and tk libraries.

* gnu/packages/maths.scm (scilab): Use gexp for tcl and tk libraries.
[argments](configure-flags): Use gexp for tcl and tk libraries.

Change-Id: I31fe9a9e2afd9b6266a2e7a2c7044b3c9d0dfa4f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Nicolas Graves 2023-11-06 00:51:46 +01:00 committed by Ludovic Courtès
parent d2a4beaf04
commit 70b1ac2bc5
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 13 deletions

View File

@ -9626,6 +9626,8 @@ computation is supported via MPI.")
tcl
tk))
(arguments
(let* ((tcl (this-package-input "tcl"))
(tk (this-package-input "tk")))
(list
#:configure-flags
#~(list
@ -9638,18 +9640,10 @@ computation is supported via MPI.")
"--disable-build-help"
"--with-external-scirenderer"
;; Tcl and Tk library locations.
(string-append "--with-tcl-include="
(dirname
(search-input-file %build-inputs "include/tcl.h")))
(string-append "--with-tcl-library="
(dirname
(search-input-directory %build-inputs "lib/tcl8")))
(string-append "--with-tk-include="
(dirname
(search-input-file %build-inputs "include/tk.h")))
(string-append "--with-tk-library="
(dirname
(search-input-directory %build-inputs "lib/tk8.6")))
(string-append "--with-tcl-include=" #$tcl "/include")
(string-append "--with-tcl-library=" #$tcl "/lib")
(string-append "--with-tk-include=" #$tk "/include")
(string-append "--with-tk-library=" #$tk "/lib")
(string-append "--with-eigen-include="
(search-input-directory %build-inputs "include/eigen3"))
;; Find and link to the OCaml Num package
@ -9714,7 +9708,7 @@ computation is supported via MPI.")
(apply invoke "make"
"src/cpp/parse/parsescilab.cpp"
"src/cpp/parse/scanscilab.cpp"
make-flags)))))))
make-flags))))))))
(home-page "https://www.scilab.org/")
(synopsis "Software for engineers and scientists")
(description "This package provides the non-graphical version of the Scilab