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>
master
Patrick Hetu 2016-06-08 13:18:07 -04:00 committed by Ludovic Courtès
parent b92d02d978
commit 9e8599a3b1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 10 additions and 0 deletions

View File

@ -939,6 +939,16 @@ capabilities.")
("guile-lib" ,guile-lib)))
(inputs
`(("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")
(description "G-Wrap is a tool and Guile library for generating function
wrappers for inter-language calls. It currently only supports generating Guile