diff options
author | 2013-09-28 08:54:27 +0000 | |
---|---|---|
committer | 2013-09-28 08:54:27 +0000 | |
commit | 9ee9a6968b44a23c423dd96b273fd2de9d9f8ce2 (patch) | |
tree | 589157cf57eeaf76451b4128f600cd43b83dfe7a /eclass/enlightenment.eclass | |
parent | Mask USE=valgrind since the pkg is not keyworded. (diff) | |
download | historical-9ee9a6968b44a23c423dd96b273fd2de9d9f8ce2.tar.gz historical-9ee9a6968b44a23c423dd96b273fd2de9d9f8ce2.tar.bz2 historical-9ee9a6968b44a23c423dd96b273fd2de9d9f8ce2.zip |
let ebuilds set SRC_URI before inheriting the eclass
Diffstat (limited to 'eclass/enlightenment.eclass')
-rw-r--r-- | eclass/enlightenment.eclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass index 299d8fa0d9da..f56adb5551d3 100644 --- a/eclass/enlightenment.eclass +++ b/eclass/enlightenment.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.101 2013/08/31 13:04:51 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.102 2013/09/28 08:54:27 vapier Exp $ # @ECLASS: enlightenment.eclass # @MAINTAINER: @@ -100,11 +100,13 @@ EXPORT_FUNCTIONS ${ENLIGHTENMENT_EXPF} DESCRIPTION="A DR17 production" HOMEPAGE="http://www.enlightenment.org/" -case ${EURI_STATE:-${E_STATE}} in +if [[ -z ${SRC_URI} ]] ; then + case ${EURI_STATE:-${E_STATE}} in release) SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz";; snap) SRC_URI="http://download.enlightenment.org/snapshots/${E_SNAP_DATE}/${P}.tar.bz2";; live) SRC_URI="";; -esac + esac +fi LICENSE="BSD" SLOT="0" |