diff options
Diffstat (limited to 'perl-cpan/inc-latest/DETAILS')
-rwxr-xr-x | perl-cpan/inc-latest/DETAILS | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/perl-cpan/inc-latest/DETAILS b/perl-cpan/inc-latest/DETAILS new file mode 100755 index 0000000000..8289b4d987 --- /dev/null +++ b/perl-cpan/inc-latest/DETAILS @@ -0,0 +1,31 @@ + SPELL=inc-latest + VERSION=0.500 + SOURCE="${SPELL}-${VERSION}.tar.gz" + SOURCE_URL[0]=$PERL_CPAN_URL/authors/id/D/DA/DAGOLDEN/${SOURCE} + SOURCE_HASH=sha512:b312d1dfce963322796bc0127f0ecd82c12baacf9e5df40d9acc093221edd80f3696ce6d9f185ed24b21983147363d1d0ff3e273b8b5ce7559a6f16983a1385c +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" + WEB_SITE="http://search.cpan.org/~dagolden/inc-latest-${VERSION}/lib/inc/latest.pm" + LICENSE[0]=ART + ENTERED=20150718 + SHORT="use modules bundled in inc/ if they are newer than installed ones" +cat << EOF +The inc::latest module helps bootstrap configure-time dependencies for CPAN +distributions. These dependencies get bundled into the inc directory within +a distribution and are used by Makefile.PL or Build.PL. + +Arguments to inc::latest are module names that are checked against both +the current @INC array and against specially-named directories in inc. If +the bundled version is newer than the installed one (or the module isn't +installed, then, the bundled directory is added to the start of @INC and +the module is loaded from there. + +There are actually two variations of inc::latest -- one for authors and one +for the inc directory. For distribution authors, the inc::latest installed +in the system will record modules loaded via inc::latest and can be used +to create the bundled files in inc, including writing the second variation +as inc/latest.pm. + +This second inc::latest is the one that is loaded in a distribution being +installed (e.g. from Makefile.PL or Build.PL). This bundled inc::latest is +the one that determines which module to load. +EOF |