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

Diff of /eclass/autotools-multilib.eclass

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

Revision 1.21 Revision 1.22
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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-multilib.eclass,v 1.21 2014/04/03 22:09:36 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-multilib.eclass,v 1.22 2014/04/30 18:17:19 mgorny Exp $
4 4
5# @ECLASS: autotools-multilib.eclass 5# @ECLASS: autotools-multilib.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gx86-multilib team <multilib@gentoo.org> 7# gx86-multilib team <multilib@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
9# Author: Michał Górny <mgorny@gentoo.org> 9# Author: Michał Górny <mgorny@gentoo.org>
10# @BLURB: autotools-utils wrapper for multilib builds 10# @BLURB: autotools-utils wrapper for multilib builds
11# @DESCRIPTION: 11# @DESCRIPTION:
12# The autotools-multilib.eclass is an autotools-utils.eclass(5) wrapper 12# The autotools-multilib.eclass provides a glue between
13# introducing support for building for more than one ABI (multilib). 13# autotools-utils.eclass(5) and multilib-minimal.eclass(5), aiming
14# to provide a convenient way to build packages using autotools
15# for multiple ABIs.
14# 16#
15# Inheriting this eclass sets the USE flags and exports autotools-utils 17# Inheriting this eclass sets IUSE and exports default multilib_src_*()
16# phase function wrappers which build the package for each supported ABI 18# sub-phases that call autotools-utils phase functions for each ABI
17# when the relevant flag is enabled. Other than that, it works like 19# enabled. The multilib_src_*() functions can be defined in ebuild just
18# regular autotools-utils. 20# like in multilib-minimal.
19#
20# The multilib phase functions can be overriden via defining multilib_*
21# phase functions as in multilib-minimal.eclass. In some cases you may
22# need to call the underlying autotools-utils_* phase though.
23#
24# Note that the multilib support requires out-of-source builds to be
25# enabled. Thus, it is impossible to use AUTOTOOLS_IN_SOURCE_BUILD with
26# it.
27 21
28# EAPI=4 is required for meaningful MULTILIB_USEDEP. 22# EAPI=4 is required for meaningful MULTILIB_USEDEP.
29case ${EAPI:-0} in 23case ${EAPI:-0} in
30 4|5) ;; 24 4|5) ;;
31 *) die "EAPI=${EAPI} is not supported" ;; 25 *) die "EAPI=${EAPI} is not supported" ;;

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20