On Wed, 2009-10-06 at 10:21 -0400, Guy Hulbert wrote:
It might be useful to review: CPANPLUS::Dist::Deb
to see if it checks under /usr before installing things in /usr/
local.
Hmmm.... they're recommending:
deb http://debian.pkgs.cpan.org/debian unstable main
Let's see:
wget http://debian.pkgs.cpan.org/debian/dists/unstable/main/binary-i386/Packages.gz
zless Packages.gz
Hmmm....
Maintainer: cpanplus@example.com
Not a particularly useful email address ...
Let's look at a package: cpan-libfile-path-perl_2.04-1_all.deb
wget ...
ar x cpan-libfile-path-perl_2.04-1_all.deb
tar ztf data.tar.gz
So it's under /usr/local but the docs are under /usr:
./usr/local/share/perl/5.8.8/File/Path.pm
./usr/local/man/man3/File::Path.3pm
./usr/share/doc/cpan-libfile-path-perl/README.Debian
Hmm... I'd suggest that they use /usr/local/share/doc to avoid
confusion
but I don't suppose debian policy has much to say here.