Permalink
Browse files

Add MODULE_VERSION

  • Loading branch information...
1 parent 555ec04 commit 4a88fde23820b556d1a7583c294f847457904754 @tove tove committed Jan 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 eclass/perl-module.eclass
@@ -54,8 +54,8 @@ DESCRIPTION="Based on the $ECLASS eclass"
LICENSE="${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}"
-if [[ -n ${MY_PN} || -n ${MY_PV} ]] ; then
- : ${MY_P:=${MY_PN:-${PN}}-${MY_PV:-${PV}}}
+if [[ -n ${MY_PN} || -n ${MY_PV} || -n ${MODULE_VERSION} ]] ; then
+ : ${MY_P:=${MY_PN:-${PN}}-${MY_PV:-${MODULE_VERSION:-${PV}}}}
S=${MY_S:-${WORKDIR}/${MY_P}}
fi
[[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && MODULE_A="${MY_P:-${P}}.tar.gz"

0 comments on commit 4a88fde

Please sign in to comment.