1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
dh-perl6
========
The dh-perl6 package contains a set of debhelper extensions that can simplify
packaging of perl6 modules. To activate these extensions, use --with when
invoking debhelper from debian/rules:
----------------------8<---------------------
#!/usr/bin/make -f
%:
dh $@ --with perl6
---------------------->8---------------------
The individual scripts and their function are:
dh_perl6_maintscript
This will create postinst and postrm scripts that call rakudo-helper.pl upon
installation and deinstallation, which in turn manages precompilation files
dh_perl6_depsfile
This will create a dependency file are required by rakudo-helper, listing
all other perl6-* dependencies of the package, this is inferred from the
control file.
dh_perl6_test
If the package contains a 't' directory, and perl6-tap-harness is installed,
then this will run 'prove6 -l' to execute the tests of the package. dh-perl6
itself does not depend on perl6-tap-harness, so if you want this behaviour
then your package needs to have that dependency.
|