/[gentoo-x86]/eclass/xorg-2.eclass
Gentoo

Diff of /eclass/xorg-2.eclass

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

Revision 1.6 Revision 1.9
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/xorg-2.eclass,v 1.6 2010/07/14 08:34:27 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.9 2010/08/11 09:20:09 scarabeus Exp $
4# 4#
5# @ECLASS: xorg-2.eclass 5# @ECLASS: xorg-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# x11@gentoo.org 7# x11@gentoo.org
8# @BLURB: Reduces code duplication in the modularized X11 ebuilds. 8# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
210 # some hosts need full eautoreconf 210 # some hosts need full eautoreconf
211 [[ -e "./configure.ac" || -e "./configure.in" ]] && eautoreconf || ewarn "Unable to autoreconf the configure script. Things may fail." 211 [[ -e "./configure.ac" || -e "./configure.in" ]] && eautoreconf || ewarn "Unable to autoreconf the configure script. Things may fail."
212 ;; 212 ;;
213 *) 213 *)
214 # elibtoolize required for BSD 214 # elibtoolize required for BSD
215 [[ ${XORG_EAUTORECONF} != no && -e "./configure.ac" ]] && eautoreconf || elibtoolize 215 [[ ${XORG_EAUTORECONF} != no && ( -e "./configure.ac" || -e "./configure.in" ) ]] && eautoreconf || elibtoolize
216 ;; 216 ;;
217 esac 217 esac
218} 218}
219 219
220# @FUNCTION: xorg-2_src_prepare 220# @FUNCTION: xorg-2_src_prepare
305# Creates a ChangeLog from git if using live ebuilds. 305# Creates a ChangeLog from git if using live ebuilds.
306xorg-2_src_install() { 306xorg-2_src_install() {
307 if [[ ${CATEGORY} == x11-proto ]]; then 307 if [[ ${CATEGORY} == x11-proto ]]; then
308 emake \ 308 emake \
309 ${PN/proto/}docdir=${EPREFIX}/usr/share/doc/${PF} \ 309 ${PN/proto/}docdir=${EPREFIX}/usr/share/doc/${PF} \
310 docdir=${EPREFIX}/usr/share/doc/${PF} \
310 DESTDIR="${D}" \ 311 DESTDIR="${D}" \
311 install || die "emake install failed" 312 install || die "emake install failed"
312 else 313 else
313 emake \ 314 emake \
314 docdir=${EPREFIX}/usr/share/doc/${PF} \ 315 docdir=${EPREFIX}/usr/share/doc/${PF} \

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20