gnu: g-wrap: Install modules to 'site/2.0'.
* gnu/packages/guile.scm (g-wrap)[arguments]: New field. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b92d02d978
commit
9e8599a3b1
|
@ -939,6 +939,16 @@ capabilities.")
|
||||||
("guile-lib" ,guile-lib)))
|
("guile-lib" ,guile-lib)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libffi" ,libffi)))
|
`(("libffi" ,libffi)))
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'pre-configure
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(substitute* (find-files "." "^Makefile.in$")
|
||||||
|
(("guilemoduledir =.*guile/site" all)
|
||||||
|
(string-append all "/2.0")))
|
||||||
|
#t))))))
|
||||||
(synopsis "Generate C bindings for Guile")
|
(synopsis "Generate C bindings for Guile")
|
||||||
(description "G-Wrap is a tool and Guile library for generating function
|
(description "G-Wrap is a tool and Guile library for generating function
|
||||||
wrappers for inter-language calls. It currently only supports generating Guile
|
wrappers for inter-language calls. It currently only supports generating Guile
|
||||||
|
|
Loading…
Reference in New Issue