summaryrefslogtreecommitdiffstats
path: root/perl-cpan/inc-latest/DETAILS
blob: 8289b4d98752ff0f69275e2e1143082f7b6040d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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