/[gentoo-x86]/eclass/enlightenment.eclass
Gentoo

Diff of /eclass/enlightenment.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.74 Revision 1.75
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.74 2008/11/30 03:18:30 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.75 2008/11/30 08:33:51 vapier Exp $
4# 4#
5# Author: vapier@gentoo.org 5# Author: vapier@gentoo.org
6 6
7inherit eutils libtool 7inherit eutils libtool
8 8
49 ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_URI_APPEND} 49 ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_URI_APPEND}
50 E_S_APPEND=${ESVN_URI_APPEND} 50 E_S_APPEND=${ESVN_URI_APPEND}
51 E_LIVE_SOURCE="svn" 51 E_LIVE_SOURCE="svn"
52 inherit subversion 52 inherit subversion
53 fi 53 fi
54elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then 54elif [[ -n ${E_SNAP_DATE} ]] ; then
55 E_STATE="snap" 55 E_STATE="snap"
56elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then 56else
57 E_STATE="snap"
58 EURI_STATE="release" 57 E_STATE="release"
59fi 58fi
60if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then 59if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
61 WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest} 60 WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest}
62 WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest} 61 WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest}
63 inherit autotools 62 inherit autotools
64fi 63fi
65 64
66DESCRIPTION="A DR17 production" 65DESCRIPTION="A DR17 production"
67HOMEPAGE="http://www.enlightenment.org/" 66HOMEPAGE="http://www.enlightenment.org/"
68case ${EURI_STATE:-${E_STATE}} in 67case ${EURI_STATE:-${E_STATE}} in
69 release) SRC_URI="http://enlightenment.freedesktop.org/files/${P}.tar.gz mirror://sourceforge/enlightenment/${P}.tar.gz";; 68 release) SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz";;
70 snap) SRC_URI="mirror://gentoo/${P}.tar.bz2";; 69 snap) SRC_URI="http://download.enlightenment.org/snapshots/${E_SNAP_DATE}/${P}.tar.bz2";;
71 live) SRC_URI="";; 70 live) SRC_URI="";;
72esac 71esac
73 72
74LICENSE="BSD" 73LICENSE="BSD"
75SLOT="0" 74SLOT="0"
86# gettext (via `autopoint`) needs to run cvs #245073 85# gettext (via `autopoint`) needs to run cvs #245073
87[[ ${E_STATE} == "live" ]] && DEPEND="${DEPEND} dev-util/cvs" 86[[ ${E_STATE} == "live" ]] && DEPEND="${DEPEND} dev-util/cvs"
88 87
89case ${EURI_STATE:-${E_STATE}} in 88case ${EURI_STATE:-${E_STATE}} in
90 release) S=${WORKDIR}/${P};; 89 release) S=${WORKDIR}/${P};;
91 snap) S=${WORKDIR}/${PN};; 90 snap) S=${WORKDIR}/${P};;
92 live) S=${WORKDIR}/${E_S_APPEND};; 91 live) S=${WORKDIR}/${E_S_APPEND};;
93esac 92esac
94 93
95enlightenment_warning_msg() { 94enlightenment_warning_msg() {
96 if [[ -n ${E_LIVE_SERVER} ]] ; then 95 if [[ -n ${E_LIVE_SERVER} ]] ; then

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

  ViewVC Help
Powered by ViewVC 1.1.20