Hi,
On Fri, Feb 19, 2010 at 2:23 AM, Chris Nighswonger
<[email protected]> wrote:
> +our $PREREQ_PM = {
> + 'Algorithm::CheckDigits' => 0.50,
> + 'Authen::CAS::Client' => 0.05,
Good start. In order to set the groundwork for the future, I suggest
changing the structure a bit to something like this:
our $DEP_MODULES = {
'Algorithm::CheckDigits' => { minVersion => 0.50 },
'Authen::CAS::Client' => { minVersion => 0.05 },
...
and writing a routine to generate the PREREQ_PM hash needed by
Makefile.PL. Why the change? So we can do this later:
our $DEP_MODULES = {
'Algorithm::CheckDigits' => {
minVersion => 0.50,
required => 1,
packages => { debian => ... , opensuse => .... },
},
'Authen::CAS::Client' => {
minVersion => 0.05,
required => 0,
supportsFeature => 'cas_authentication',
},
... &c.
Regards,
Galen
--
Galen Charlton
[email protected]
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches