----- Original Message -----
From: "Jonathan "Duke" Leto"
> Also, if possible, please document the process of creating the PPM so
> I can add it to the Math::GSL developer docs.
Hi Duke,
See:
http://docs.activestate.com/activeperl/5.6/faq/ActivePerl-faq2.html
especially:
http://docs.activestate.com/activeperl/5.6/faq/ActivePerl-faq2.html#how_to_make_ppm_distribution
I think those are old docs, dating back to the days of perl-5.6, but the
fundamentals of ppm have not changed.
When we build Math::GSL (or any other module, for that matter) a 'blib'
directory is built and populated during the 'make' stage.
At its most basic, a ppm package consists of a tarred & gzipped blib
('Module-Name.tar.gz'), and a ppd file ('Module-Name.ppd').
With Math::GSL there's usually a GSL dll that needs to be installed. That,
too, is handled by the ppd file - which downloads and then runs a
post-install script that will install the GSL dll if desired.
I usually write the ppd file by hand. It can be created with 'nmake ppd'
(or, if we're using dmake, 'dmake ppd'). However, created that way, it will
still probably require some amending by hand.
There's also the PPM::Make module, written by (the late) Randy Kobes and now
maintained on CPAN by Kenichi Ishigaki. I expect this simplifies the
creation of the ppm package, though I've no personal experience with it.
Cheers,
Rob