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

Diff of /eclass/enlightenment.eclass

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

Revision 1.86 Revision 1.87
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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.86 2010/08/28 21:15:24 tommy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.87 2010/09/18 08:38:08 vapier Exp $
4 4
5# @ECLASS: enlightenment.eclass 5# @ECLASS: enlightenment.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# enlightenment@gentoo.org 7# enlightenment@gentoo.org
8# @BLURB: simplify enlightenment package management 8# @BLURB: simplify enlightenment package management
71fi 71fi
72 72
73# Parse requested python state 73# Parse requested python state
74: ${E_PYTHON:=${E_CYTHON}} 74: ${E_PYTHON:=${E_CYTHON}}
75if [[ -n ${E_PYTHON} ]] ; then 75if [[ -n ${E_PYTHON} ]] ; then
76 WANT_AUTOTOOLS="no"
77
78 PYTHON_DEPEND="2:2.4" 76 PYTHON_DEPEND="2:2.4"
79 77
80 inherit python distutils 78 inherit python
81fi 79fi
82 80
83if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then 81if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
84 WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest} 82 WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest}
85 WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest} 83 WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest}
157} 155}
158 156
159enlightenment_src_compile() { 157enlightenment_src_compile() {
160 hasq src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure 158 hasq src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure
161 159
162 if [[ -z ${E_PYTHON} ]] ; then 160 emake || die
163 emake || die "emake failed"
164 else
165 distutils_src_compile
166 fi
167 161
168 if use doc ; then 162 if use doc ; then
169 if [[ -x ./gendoc ]] ; then 163 if [[ -x ./gendoc ]] ; then
170 ./gendoc || die 164 ./gendoc || die
171 else 165 else

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

  ViewVC Help
Powered by ViewVC 1.1.20