Re: Packages to upload: libastro-fits-cfitsio-perl and libastro-fits-header-perl
On Sun, Feb 01, 2004 at 09:00:36AM +0100, Michael Zehrer wrote:
>These two packages are now in cvs and maybe ready to upload, see:
>libastro-fits-cfitsio-perl gives this lintian warning:
>N: Architecture-independent Perl code should be placed in
>N: /usr/share/perl5, not /usr/lib/perl5.
>How to handle this? Is this really architecture-independent?
This is probably related to lintian bug #199898.
XS modules have one or more perl modules which are used to bootstrap
(via DynaLoader or XSLoader) the compiled code and often to provide a
richer interface to the underlying library.
Such modules should be installed under /usr/lib, alongside the binary
A rule of thumb is: if your module installs <Module>.so under
/usr/lib/perl5, then <Module>.pm should also be installed there.
More simply: for modules which use MakeMaker, following the
instructions given in Perl Policy* should yeild the correct result
(barring convolutions in Makefile.PL).