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

Diff of /eclass/enlightenment.eclass

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

Revision 1.85 Revision 1.86
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.85 2010/08/23 21:38:13 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.86 2010/08/28 21:15:24 tommy 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
139 if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then 139 if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
140 [[ -d po ]] && eautopoint -f 140 [[ -d po ]] && eautopoint -f
141 # autotools require README, when README.in is around, but README 141 # autotools require README, when README.in is around, but README
142 # is created later in configure step 142 # is created later in configure step
143 [[ -f README.in ]] && touch README 143 [[ -f README.in ]] && touch README
144 export SVN_REPO_PATH=${ESVN_WC_PATH}
144 eautoreconf 145 eautoreconf
145 fi 146 fi
146 epunt_cxx 147 epunt_cxx
147 elibtoolize 148 elibtoolize
148} 149}
149 150
150enlightenment_src_configure() { 151enlightenment_src_configure() {
151 # gstreamer sucks, work around it doing stupid stuff 152 # gstreamer sucks, work around it doing stupid stuff
152 export GST_REGISTRY="${S}/registry.xml" 153 export GST_REGISTRY="${S}/registry.xml"
154 has static-libs ${IUSE} && MY_ECONF+=" $(use_enable static-libs static)"
153 155
154 econf ${MY_ECONF} 156 econf ${MY_ECONF}
155} 157}
156 158
157enlightenment_src_compile() { 159enlightenment_src_compile() {
177 find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null 179 find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null
178 for d in AUTHORS ChangeLog NEWS README TODO ${EDOCS}; do 180 for d in AUTHORS ChangeLog NEWS README TODO ${EDOCS}; do
179 [[ -f ${d} ]] && dodoc ${d} 181 [[ -f ${d} ]] && dodoc ${d}
180 done 182 done
181 use doc && [[ -d doc ]] && dohtml -r doc/* 183 use doc && [[ -d doc ]] && dohtml -r doc/*
184 if has static-libs ${IUSE} ; then
185 use static-libs || find "${D}" -name '*.la' -exec rm -f {} +
186 fi
182} 187}

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

  ViewVC Help
Powered by ViewVC 1.1.20