mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
build-system/perl: Use Build.PL for builds if present.
* guix/build/perl-build-system.scm (configure): Use Build.PL if present. (build, check, install): New procedures. (%standard-phases): Replace build, check, and install phases. * guix/build-system/perl (perl-build): Add make-maker? and module-build-flags arguments. * doc/guix.texi (Build Systems)[perl-build-system]: Document behavior rsp. Build.PL and new arguments.
This commit is contained in:
parent
0f3d643b0b
commit
2d2a53fc24
3 changed files with 64 additions and 17 deletions
|
@ -75,7 +75,9 @@
|
|||
(tests? #t)
|
||||
(parallel-build? #t)
|
||||
(parallel-tests? #t)
|
||||
(make-maker? #f)
|
||||
(make-maker-flags ''())
|
||||
(module-build-flags ''())
|
||||
(phases '(@ (guix build perl-build-system)
|
||||
%standard-phases))
|
||||
(outputs '("out"))
|
||||
|
@ -101,7 +103,9 @@ provides a `Makefile.PL' file as its build system."
|
|||
source))
|
||||
#:search-paths ',(map search-path-specification->sexp
|
||||
search-paths)
|
||||
#:make-maker? ,make-maker?
|
||||
#:make-maker-flags ,make-maker-flags
|
||||
#:module-build-flags ,module-build-flags
|
||||
#:phases ,phases
|
||||
#:system ,system
|
||||
#:test-target "test"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue