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

Diff of /eclass/multilib-minimal.eclass

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

Revision 1.5 Revision 1.6
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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/multilib-minimal.eclass,v 1.5 2013/06/28 12:42:48 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-minimal.eclass,v 1.6 2013/10/20 16:27:24 hasufell Exp $
4 4
5# @ECLASS: multilib-minimal.eclass 5# @ECLASS: multilib-minimal.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Julian Ospald <hasufell@gentoo.org> 7# Julian Ospald <hasufell@gentoo.org>
8# @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions 8# @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions
28 4|5) ;; 28 4|5) ;;
29 *) die "EAPI=${EAPI} is not supported" ;; 29 *) die "EAPI=${EAPI} is not supported" ;;
30esac 30esac
31 31
32 32
33inherit multilib-build 33inherit eutils multilib-build
34 34
35EXPORT_FUNCTIONS src_configure src_compile src_test src_install 35EXPORT_FUNCTIONS src_configure src_compile src_test src_install
36 36
37 37
38multilib-minimal_src_configure() { 38multilib-minimal_src_configure() {
102 multilib_foreach_abi multilib-minimal_abi_src_install 102 multilib_foreach_abi multilib-minimal_abi_src_install
103 multilib_install_wrappers 103 multilib_install_wrappers
104 104
105 if declare -f multilib_src_install_all >/dev/null ; then 105 if declare -f multilib_src_install_all >/dev/null ; then
106 multilib_src_install_all 106 multilib_src_install_all
107 fi
108
109 # this is synced with __eapi4_src_install
110 if ! declare -p DOCS &>/dev/null ; then
111 local d
112 for d in README* ChangeLog AUTHORS NEWS TODO CHANGES \
113 THANKS BUGS FAQ CREDITS CHANGELOG ; do
114 [[ -s "${d}" ]] && dodoc "${d}"
115 done
116 elif [[ $(declare -p DOCS) == "declare -a "* ]] ; then
117 dodoc "${DOCS[@]}"
118 else 107 else
119 dodoc ${DOCS} 108 einstalldocs
120 fi 109 fi
121} 110}

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

  ViewVC Help
Powered by ViewVC 1.1.20