gnu: duktape: Use G-expressions.
* gnu/packages/javascript.scm (duktape)[arguments]: Rewrite as G-expressions.
This commit is contained in:
		
							parent
							
								
									9305d17609
								
							
						
					
					
						commit
						2c975efe83
					
				
					 1 changed files with 22 additions and 17 deletions
				
			
		| 
						 | 
					@ -828,11 +828,16 @@ Javascript and a small built-in standard library with C library wrappers.")
 | 
				
			||||||
                "19szwxzvl2g65fw95ggvb8h0ma5bd9vvnnccn59hwnc4dida1x4n"))))
 | 
					                "19szwxzvl2g65fw95ggvb8h0ma5bd9vvnnccn59hwnc4dida1x4n"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:tests? #f                      ; No tests.
 | 
					     (list #:tests? #f                  ; No tests.
 | 
				
			||||||
       #:make-flags (list "-f" "Makefile.sharedlibrary"
 | 
					           #:make-flags
 | 
				
			||||||
                          (string-append "INSTALL_PREFIX=" %output))
 | 
					           #~(list "-f" "Makefile.sharedlibrary"
 | 
				
			||||||
 | 
					                   (string-append "INSTALL_PREFIX="
 | 
				
			||||||
 | 
					                                  ;; XXX Replace with #$output on core-updates.
 | 
				
			||||||
 | 
					                                  #$(if (%current-target-system)
 | 
				
			||||||
 | 
					                                        #~#$output
 | 
				
			||||||
 | 
					                                        #~%output)))
 | 
				
			||||||
           #:phases
 | 
					           #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					           #~(modify-phases %standard-phases
 | 
				
			||||||
               (delete 'configure)
 | 
					               (delete 'configure)
 | 
				
			||||||
               ;; At least another major GNU/Linux distribution carries their own
 | 
					               ;; At least another major GNU/Linux distribution carries their own
 | 
				
			||||||
               ;; .pc file with this package.
 | 
					               ;; .pc file with this package.
 | 
				
			||||||
| 
						 | 
					@ -852,7 +857,7 @@ Javascript and a small built-in standard library with C library wrappers.")
 | 
				
			||||||
                               Version: ~a~@
 | 
					                               Version: ~a~@
 | 
				
			||||||
                               Libs: -L${libdir} -lduktape~@
 | 
					                               Libs: -L${libdir} -lduktape~@
 | 
				
			||||||
                               Cflags: -I${includedir}~%"
 | 
					                               Cflags: -I${includedir}~%"
 | 
				
			||||||
                           out ,version)))))))))
 | 
					                                 out #$version)))))))))
 | 
				
			||||||
    (home-page "https://duktape.org/")
 | 
					    (home-page "https://duktape.org/")
 | 
				
			||||||
    (synopsis "Small embeddable Javascript engine")
 | 
					    (synopsis "Small embeddable Javascript engine")
 | 
				
			||||||
    (description "Duktape is an embeddable Javascript engine, with a focus on
 | 
					    (description "Duktape is an embeddable Javascript engine, with a focus on
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue