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

Diff of /eclass/autotools.eclass

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

Revision 1.44 Revision 1.45
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/autotools.eclass,v 1.44 2006/09/21 03:06:18 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.45 2006/09/22 22:25:06 vapier Exp $
4# 4#
5# Author: Diego Pettenò <flameeyes@gentoo.org> 5# Author: Diego Pettenò <flameeyes@gentoo.org>
6# Enhancements: Martin Schlemmer <azarah@gentoo.org> 6# Enhancements: Martin Schlemmer <azarah@gentoo.org>
7# 7#
8# This eclass is for handling autotooled software packages that 8# This eclass is for handling autotooled software packages that
9# needs to regenerate their build scripts. 9# needs to regenerate their build scripts.
10# 10#
11# NB: If you add anything, please comment it! 11# NB: If you add anything, please comment it!
12 12
13inherit eutils libtool 13inherit eutils libtool
14
15[[ ${WANT_AUTOMAKE} == "latest" ]] && export WANT_AUTOMAKE=1.9
16[[ ${WANT_AUTOCONF} == "latest" ]] && export WANT_AUTOCONF=2.5
14 17
15_automake_atom="sys-devel/automake" 18_automake_atom="sys-devel/automake"
16_autoconf_atom="sys-devel/autoconf" 19_autoconf_atom="sys-devel/autoconf"
17[[ -n ${WANT_AUTOMAKE} ]] && _automake_atom="=sys-devel/automake-${WANT_AUTOMAKE}*" 20[[ -n ${WANT_AUTOMAKE} ]] && _automake_atom="=sys-devel/automake-${WANT_AUTOMAKE}*"
18if [[ -n ${WANT_AUTOCONF} ]]; then 21if [[ -n ${WANT_AUTOCONF} ]] ; then
19 case ${WANT_AUTOCONF} in 22 case ${WANT_AUTOCONF} in
20 2.1) _autoconf_atom="=sys-devel/autoconf-${WANT_AUTOCONF}*" ;; 23 2.1) _autoconf_atom="=sys-devel/autoconf-${WANT_AUTOCONF}*" ;;
21 2.5) _autoconf_atom=">=sys-devel/autoconf-2.59" ;; 24 2.5) _autoconf_atom=">=sys-devel/autoconf-2.59" ;;
22 esac 25 esac
23fi 26fi

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

  ViewVC Help
Powered by ViewVC 1.1.20