build_style=perl6-dist: add
This commit is contained in:
parent
a94f2467a6
commit
afdfdf9991
|
@ -803,6 +803,9 @@ Additional install arguments can be specified via `make_install_args`.
|
|||
- `perl-module` For packages that use the Perl
|
||||
[ExtUtils::MakeMaker](http://perldoc.perl.org/ExtUtils/MakeMaker.html) build method.
|
||||
|
||||
- `perl6-dist` For packages that use the Rakudo Perl 6
|
||||
`perl6-install-dist` build method with rakudo.
|
||||
|
||||
- `waf3` For packages that use the Python3 `waf` build method with python3.
|
||||
|
||||
- `waf` For packages that use the Python `waf` method with python2.
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
#
|
||||
# This helper is for Rakudo Perl 6 package templates.
|
||||
#
|
||||
|
||||
do_check() {
|
||||
PERL6LIB=lib prove -r -e perl6 t/
|
||||
}
|
||||
|
||||
do_install() {
|
||||
export RAKUDO_LOG_PRECOMP=1
|
||||
export RAKUDO_RERESOLVE_DEPENDENCIES=0
|
||||
perl6-install-dist \
|
||||
--to=${DESTDIR}/usr/share/perl6/vendor \
|
||||
--for=vendor \
|
||||
--from=.
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
depends+=" rakudo"
|
||||
checkdepends+=" perl"
|
||||
hostmakedepends+=" rakudo"
|
Loading…
Reference in New Issue