build_style=perl6-dist: add
This commit is contained in:
16
common/build-style/perl6-dist.sh
Normal file
16
common/build-style/perl6-dist.sh
Normal file
@@ -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=.
|
||||
}
|
||||
3
common/environment/build-style/perl6-dist.sh
Normal file
3
common/environment/build-style/perl6-dist.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
depends+=" rakudo"
|
||||
checkdepends+=" perl"
|
||||
hostmakedepends+=" rakudo"
|
||||
Reference in New Issue
Block a user