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

Diff of /eclass/enlightenment.eclass

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

Revision 1.40 Revision 1.41
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.40 2005/01/10 19:49:31 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.41 2005/02/07 00:58:02 vapier Exp $
4# 4#
5# Author: vapier@gentoo.org 5# Author: vapier@gentoo.org
6 6
7inherit eutils 7inherit eutils
8 8
12EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst 12EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst
13 13
14ECVS_STATE="release" 14ECVS_STATE="release"
15if [[ ${PV/9999} != ${PV} ]] ; then 15if [[ ${PV/9999} != ${PV} ]] ; then
16 if [[ -z ${ECVS_MODULE} ]] ; then 16 if [[ -z ${ECVS_MODULE} ]] ; then
17 ECVS_MODULE="${PN}" 17 ECVS_MODULE=${PN}
18 if [[ ${CATEGORY/libs} != ${CATEGORY} ]] ; then 18 if [[ ${CATEGORY/libs} != ${CATEGORY} ]] ; then
19 ECVS_MODULE="e17/libs/${PN}" 19 ECVS_MODULE="e17/libs/${PN}"
20 else 20 else
21 ECVS_MODULE="e17/apps/${PN}" 21 ECVS_MODULE="e17/apps/${PN}"
22 fi 22 fi
23 fi 23 fi
24 ECVS_SERVER="${ECVS_SERVER:-cvs.sourceforge.net:/cvsroot/enlightenment}" 24 ECVS_SERVER=${ECVS_SERVER:-cvs.sourceforge.net:/cvsroot/enlightenment}
25 ECVS_STATE="live" 25 ECVS_STATE="live"
26 inherit cvs 26 inherit cvs
27elif [[ ${PV/.200?????/} != ${PV} ]] || [[ ${PV/2003????} != ${PV} ]] ; then 27elif [[ ${PV/.200?????/} != ${PV} ]] || [[ ${PV/2003????} != ${PV} ]] ; then
28 ECVS_STATE="snap" 28 ECVS_STATE="snap"
29fi 29fi
95} 95}
96 96
97enlightenment_src_compile() { 97enlightenment_src_compile() {
98 if [[ ${ECVS_STATE} != "release" ]] ; then 98 if [[ ${ECVS_STATE} != "release" ]] ; then
99 [[ ! -z ${EHACKAUTOGEN} ]] && sed -i 's:.*configure.*::' autogen.sh 99 [[ ! -z ${EHACKAUTOGEN} ]] && sed -i 's:.*configure.*::' autogen.sh
100 export WANT_AUTOMAKE="${EAUTOMAKE:-1.8}" 100 export WANT_AUTOMAKE=${EAUTOMAKE:-1.8}
101 env \ 101 env \
102 PATH="${T}:${PATH}" \ 102 PATH="${T}:${PATH}" \
103 NOCONFIGURE=yes \ 103 NOCONFIGURE=yes \
104 USER=blah \ 104 USER=blah \
105 ./autogen.sh \ 105 ./autogen.sh \

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20