mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: scilab: Add phase set-version.
* gnu/packages/maths.scm (scilab): Add phase set-version. [arguments](phases): Add phase set-version. Change-Id: I0e461a229931d159196cae73d1db584250c579b2 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
9d33830fd1
commit
671592c2dd
1 changed files with 7 additions and 0 deletions
|
@ -9667,6 +9667,13 @@ (define-public scilab
|
|||
(substitute* "modules/Makefile.am"
|
||||
(("libscilab_cli_la_LDFLAGS = .*\\)" all)
|
||||
(string-append all " -lcurl")))))
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(substitute* "modules/core/includes/version.h.in"
|
||||
(("scilab-branch-main") ; version
|
||||
(string-append
|
||||
"scilab-"
|
||||
#$(version-major+minor (package-version this-package)))))))
|
||||
(add-after 'unpack 'restrain-to-scilab-cli
|
||||
(lambda _
|
||||
;; Install only scilab-cli.desktop
|
||||
|
|
Loading…
Reference in a new issue