summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/enlightenment.eclass')
-rw-r--r--eclass/enlightenment.eclass15
1 files changed, 7 insertions, 8 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
index 51ad7fe9895e..1cd0c8e8dc03 100644
--- a/eclass/enlightenment.eclass
+++ b/eclass/enlightenment.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.74 2008/11/30 03:18:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.75 2008/11/30 08:33:51 vapier Exp $
#
# Author: vapier@gentoo.org
@@ -51,11 +51,10 @@ if [[ ${PV/9999} != ${PV} ]] ; then
E_LIVE_SOURCE="svn"
inherit subversion
fi
-elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then
+elif [[ -n ${E_SNAP_DATE} ]] ; then
E_STATE="snap"
-elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then
- E_STATE="snap"
- EURI_STATE="release"
+else
+ E_STATE="release"
fi
if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest}
@@ -66,8 +65,8 @@ fi
DESCRIPTION="A DR17 production"
HOMEPAGE="http://www.enlightenment.org/"
case ${EURI_STATE:-${E_STATE}} in
- release) SRC_URI="http://enlightenment.freedesktop.org/files/${P}.tar.gz mirror://sourceforge/enlightenment/${P}.tar.gz";;
- snap) SRC_URI="mirror://gentoo/${P}.tar.bz2";;
+ 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
@@ -88,7 +87,7 @@ RDEPEND="nls? ( sys-devel/gettext )"
case ${EURI_STATE:-${E_STATE}} in
release) S=${WORKDIR}/${P};;
- snap) S=${WORKDIR}/${PN};;
+ snap) S=${WORKDIR}/${P};;
live) S=${WORKDIR}/${E_S_APPEND};;
esac