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
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue