Magellan Linux

Diff of /branches/magellan-next/include/cpan.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1972 by niro, Thu Jun 11 12:10:21 2009 UTC revision 1974 by niro, Thu Jun 11 12:18:21 2009 UTC
# Line 8  sminclude perl Line 8  sminclude perl
8  #   ${CPAN_AUTHOR}:   needed, author of the CPAN-module  #   ${CPAN_AUTHOR}:   needed, author of the CPAN-module
9  [[ -z ${CPAN_AUTHOR} ]] && die "cpan.sminc: \$CPAN_AUTHOR not given!"  [[ -z ${CPAN_AUTHOR} ]] && die "cpan.sminc: \$CPAN_AUTHOR not given!"
10    
11  CPAN_AUTOR_UPPER=$(echo ${CPAN_AUTHOR} | tr [a-z] [A-Z])  CPAN_AUTHOR_UPPER=$(echo ${CPAN_AUTHOR} | tr [a-z] [A-Z])
12  CPAN_AUTOR_LOWER=$(echo ${CPAN_AUTHOR} | tr [A-Z] [a-z])  CPAN_AUTHOR_LOWER=$(echo ${CPAN_AUTHOR} | tr [A-Z] [a-z])
13    
14  # some sane defaults  # some sane defaults
15  : ${PCATEGORIE="dev-perl"}  : ${PCATEGORIE="dev-perl"}
16  # always lower letters  # always lower letters
17  : ${HOMEPAGE="http://search.cpan.org/~${CPAN_AUTHOR_LOWER}/"}  : ${HOMEPAGE="http://search.cpan.org/~${CPAN_AUTHOR_LOWER}/"}
18  : ${SRCFILE="${PNAME}.pm-${PVER}.tar.gz"}  : ${SRCFILE="${PNAME}-${PVER}.tar.gz"}
19  : ${SRCDIR="${BUILDDIR}/${PNAME}.pm-${PVER}"}  : ${SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"}
20    
21  DEPEND="${DEPEND}  DEPEND="${DEPEND}
22   >= dev-lang/perl-5.10"   >= dev-lang/perl-5.10"

Legend:
Removed from v.1972  
changed lines
  Added in v.1974