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

Diff of /eclass/autotools.eclass

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

Revision 1.4 Revision 1.6
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License v2
3# Author: Martin Schlemmer <azarah@gentoo.org> 3# Author: Martin Schlemmer <azarah@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.4 2002/07/26 21:50:14 danarmak Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.6 2002/10/25 19:55:52 vapier Exp $
5# The autotools eclass enables building of the apps that needs the latest autconf/automake. 5# The autotools eclass enables building of the apps that needs the latest autconf/automake.
6# 6#
7# NOTES: 7# NOTES:
8# 8#
9# This eclass was made to bridge the incompadibility problem of autoconf-2.13, 9# This eclass was made to bridge the incompadibility problem of autoconf-2.13,
20# 20#
21# #<cut here> 21# #<cut here>
22# # Copyright 1999-2002 Gentoo Technologies, Inc. 22# # Copyright 1999-2002 Gentoo Technologies, Inc.
23# # Distributed under the terms of the GNU General Public License, v2 or later 23# # Distributed under the terms of the GNU General Public License, v2 or later
24# # Maintainer: John Doe <john@foo.com> 24# # Maintainer: John Doe <john@foo.com>
25# # $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.4 2002/07/26 21:50:14 danarmak Exp $ 25# # $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.6 2002/10/25 19:55:52 vapier Exp $
26# 26#
27# # If you need to set the versions different from in here, it *must* 27# # If you need to set the versions different from in here, it *must*
28# # be done before inherit.eclass is sourced 28# # be done before inherit.eclass is sourced
29# #ACONFVER=2.52f 29# #ACONFVER=2.52f
30# #AMAKEVER=1.5b 30# #AMAKEVER=1.5b
161 161
162install_automake() { 162install_automake() {
163 163
164 cd ${AUTO_S}/automake-${AMAKEVER} || die "!!! Failed to build automake !!!" 164 cd ${AUTO_S}/automake-${AMAKEVER} || die "!!! Failed to build automake !!!"
165 165
166 ./configure --prefix=${AUTO_D} \ 166 ./configure --prefix=${AUTO_D} \
167 --infodir=${AUTO_D}/share/info \ 167 --infodir=${AUTO_D}/share/info \
168 --mandir=${AUTO_D}/share/man \ 168 --mandir=${AUTO_D}/share/man \
169 --target=${CHOST} || die "!!! Failed to configure automake !!!" 169 --target=${CHOST} || die "!!! Failed to configure automake !!!"
170 170
171 emake || die "!!! Failed to build automake !!!" 171 emake || die "!!! Failed to build automake !!!"
172 172
173 make install || die "!!! Failed to install automake !!!" 173 make install || die "!!! Failed to install automake !!!"
174} 174}
175 175
176install_autotools() { 176install_autotools() {
177 177
178 if [ "${SRC_URI/autoconf/}" = "$SRC_URI" ] || [ "${SRC_URI/automake/}" = "$SRC_URI" ] 178 if [ "${SRC_URI/autoconf/}" = "$SRC_URI" ] || [ "${SRC_URI/automake/}" = "$SRC_URI" ]

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

  ViewVC Help
Powered by ViewVC 1.1.20