diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-09-28 08:54:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-09-28 08:54:27 +0000 |
commit | f60fd415e7bb8eabf1d8c81028bd26848569b56e (patch) | |
tree | 080433542af968e658c47953001d9d93587c50ff /eclass/enlightenment.eclass | |
parent | Mask USE=valgrind since the pkg is not keyworded. (diff) | |
download | gentoo-2-f60fd415e7bb8eabf1d8c81028bd26848569b56e.tar.gz gentoo-2-f60fd415e7bb8eabf1d8c81028bd26848569b56e.tar.bz2 gentoo-2-f60fd415e7bb8eabf1d8c81028bd26848569b56e.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" |