Skip to content

Commit

Permalink
Add MODULE_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
Torsten Veller committed Jan 8, 2011
1 parent 555ec04 commit 4a88fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/perl-module.eclass
Expand Up @@ -54,8 +54,8 @@ DESCRIPTION="Based on the $ECLASS eclass"


LICENSE="${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}" LICENSE="${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}"


if [[ -n ${MY_PN} || -n ${MY_PV} ]] ; then if [[ -n ${MY_PN} || -n ${MY_PV} || -n ${MODULE_VERSION} ]] ; then
: ${MY_P:=${MY_PN:-${PN}}-${MY_PV:-${PV}}} : ${MY_P:=${MY_PN:-${PN}}-${MY_PV:-${MODULE_VERSION:-${PV}}}}
S=${MY_S:-${WORKDIR}/${MY_P}} S=${MY_S:-${WORKDIR}/${MY_P}}
fi fi
[[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && MODULE_A="${MY_P:-${P}}.tar.gz" [[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && MODULE_A="${MY_P:-${P}}.tar.gz"
Expand Down

0 comments on commit 4a88fde

Please sign in to comment.