Permalink
Browse files

[merge] eclass/perl-module.eclass changes from ::gentoo

  • Loading branch information...
1 parent 53260cb commit 7d24d2af13b06035bc3f2ca5236ccce28dfdb088 @tove tove committed Jan 30, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 eclass/perl-module.eclass
@@ -59,11 +59,10 @@ if [[ -n ${MY_PN} || -n ${MY_PV} || -n ${MODULE_VERSION} ]] ; then
S=${MY_S:-${WORKDIR}/${MY_P}}
fi
-if [[ -n ${MODULE_DZIL_TRIAL} ]] ; then
- S="${S%-TRIAL}";
-fi
+[[ -n ${MODULE_DZIL_TRIAL} ]] && S="${S%-TRIAL}"
-[[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && MODULE_A="${MY_P:-${P}}.tar.gz"
+[[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && \
+ MODULE_A="${MY_P:-${P}}.${MODULE_A_EXT:-tar.gz}"
[[ -z "${SRC_URI}" && -n "${MODULE_AUTHOR}" ]] && \
SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MODULE_SECTION:+${MODULE_SECTION}/}${MODULE_A}"
[[ -z "${HOMEPAGE}" ]] && \

0 comments on commit 7d24d2a

Please sign in to comment.