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

Diff of /eclass/autotools.eclass

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

Revision 1.104 Revision 1.105
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2011 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/autotools.eclass,v 1.104 2011/08/07 22:53:28 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.105 2011/08/22 18:22:27 vapier Exp $
4 4
5# @ECLASS: autotools.eclass 5# @ECLASS: autotools.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: Regenerates auto* build scripts 8# @BLURB: Regenerates auto* build scripts
21 21
22# @ECLASS-VARIABLE: WANT_AUTOMAKE 22# @ECLASS-VARIABLE: WANT_AUTOMAKE
23# @DESCRIPTION: 23# @DESCRIPTION:
24# The major version of automake your package needs 24# The major version of automake your package needs
25: ${WANT_AUTOMAKE:=latest} 25: ${WANT_AUTOMAKE:=latest}
26
27# @ECLASS-VARIABLE: WANT_LIBTOOL
28# @DESCRIPTION:
29# Do you want libtool? Valid values here are "latest" and "none".
30: ${WANT_LIBTOOL:=latest}
26 31
27# @ECLASS-VARIABLE: _LATEST_AUTOMAKE 32# @ECLASS-VARIABLE: _LATEST_AUTOMAKE
28# @INTERNAL 33# @INTERNAL
29# @DESCRIPTION: 34# @DESCRIPTION:
30# CONSTANT! 35# CONSTANT!
56 *) _autoconf_atom="INCORRECT-WANT_AUTOCONF-SETTING-IN-EBUILD" ;; 61 *) _autoconf_atom="INCORRECT-WANT_AUTOCONF-SETTING-IN-EBUILD" ;;
57 esac 62 esac
58 export WANT_AUTOCONF 63 export WANT_AUTOCONF
59fi 64fi
60 65
66_libtool_atom="sys-devel/libtool"
67if [[ -n ${WANT_LIBTOOL} ]] ; then
68 case ${WANT_LIBTOOL} in
69 none) _libtool_atom="" ;;
70 latest) ;;
71 *) _libtool_atom="INCORRECT-WANT_LIBTOOL-SETTING-IN-EBUILD" ;;
72 esac
73 export WANT_LIBTOOL
74fi
75
61AUTOTOOLS_DEPEND="${_automake_atom} ${_autoconf_atom}" 76AUTOTOOLS_DEPEND="${_automake_atom} ${_autoconf_atom} ${_libtool_atom}"
62[[ ${CATEGORY}/${PN} != "sys-devel/libtool" ]] && AUTOTOOLS_DEPEND="${AUTOTOOLS_DEPEND} >=sys-devel/libtool-2.2.6b"
63RDEPEND="" 77RDEPEND=""
64 78
65# @ECLASS-VARIABLE: AUTOTOOLS_AUTO_DEPEND 79# @ECLASS-VARIABLE: AUTOTOOLS_AUTO_DEPEND
66# @DESCRIPTION: 80# @DESCRIPTION:
67# Set to 'no' to disable automatically adding to DEPEND. This lets 81# Set to 'no' to disable automatically adding to DEPEND. This lets

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105

  ViewVC Help
Powered by ViewVC 1.1.20