Magellan Linux

Diff of /branches/R11-unstable/include/cpan.sminc

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

revision 1971 by niro, Thu Jun 11 12:07:53 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"
# Line 34  cpan_src_prepare() Line 34  cpan_src_prepare()
34    
35  cpan_src_compile()  cpan_src_compile()
36  {  {
37   perl_src_compile   local configure_opts="$@"
38     perl_src_compile ${configure_opts}
39  }  }
40    
41  src_install()  src_install()

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