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

Diff of /eclass/enlightenment.eclass

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

Revision 1.67 Revision 1.68
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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.67 2006/11/04 10:14:35 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.68 2006/11/08 07:24:41 vapier Exp $
4# 4#
5# Author: vapier@gentoo.org 5# Author: vapier@gentoo.org
6 6
7inherit eutils libtool 7inherit eutils libtool
8 8
42 ECVS_MODULE="e17/apps/${PN}" 42 ECVS_MODULE="e17/apps/${PN}"
43 fi 43 fi
44 fi 44 fi
45 ECVS_SERVER=${E17_ECVS_SERVER:-${ECVS_SERVER:-${E17_DEFAULT_CVS}}} 45 ECVS_SERVER=${E17_ECVS_SERVER:-${ECVS_SERVER:-${E17_DEFAULT_CVS}}}
46 ECVS_STATE="live" 46 ECVS_STATE="live"
47 WANT_AUTOCONF=${E17_WANT_AUTOCONF:-latest} 47 WANT_AUTOTOOLS="yes"
48 WANT_AUTOMAKE=${E17_WANT_AUTOMAKE:-latest} 48 inherit cvs
49 inherit cvs autotools
50elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then 49elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then
51 ECVS_STATE="snap" 50 ECVS_STATE="snap"
52elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then 51elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then
53 ECVS_STATE="snap" 52 ECVS_STATE="snap"
54 EURI_STATE="release" 53 EURI_STATE="release"
54fi
55if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
56 WANT_AUTOCONF=${E17_WANT_AUTOCONF:-latest}
57 WANT_AUTOMAKE=${E17_WANT_AUTOMAKE:-latest}
58 inherit autotools
55fi 59fi
56 60
57DESCRIPTION="A DR17 production" 61DESCRIPTION="A DR17 production"
58HOMEPAGE="http://www.enlightenment.org/" 62HOMEPAGE="http://www.enlightenment.org/"
59case ${EURI_STATE:-${ECVS_STATE}} in 63case ${EURI_STATE:-${ECVS_STATE}} in
141 for x in config.{guess,sub} ; do 145 for x in config.{guess,sub} ; do
142 [[ ! -L ${x} ]] && continue 146 [[ ! -L ${x} ]] && continue
143 rm -f ${x} 147 rm -f ${x}
144 touch ${x} 148 touch ${x}
145 done 149 done
150 elif [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
151 eautoreconf
146 fi 152 fi
147 epunt_cxx 153 epunt_cxx
148 elibtoolize 154 elibtoolize
149 econf ${MY_ECONF} || enlightenment_die "econf failed" 155 econf ${MY_ECONF} || enlightenment_die "econf failed"
150 emake || enlightenment_die "emake failed" 156 emake || enlightenment_die "emake failed"

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

  ViewVC Help
Powered by ViewVC 1.1.20