/[gentoo-x86]/eclass/qt4-r2.eclass
Gentoo

Diff of /eclass/qt4-r2.eclass

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

Revision 1.29 Revision 1.30
1# Copyright 1999-2013 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/qt4-r2.eclass,v 1.29 2013/12/21 20:11:55 pesa Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.30 2014/06/23 08:53:48 pinkbyte Exp $
4 4
5# @ECLASS: qt4-r2.eclass 5# @ECLASS: qt4-r2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Qt herd <qt@gentoo.org> 7# Qt herd <qt@gentoo.org>
8# @BLURB: Eclass for Qt4-based packages, second edition. 8# @BLURB: Eclass for Qt4-based packages, second edition.
13case ${EAPI} in 13case ${EAPI} in
14 2|3|4|5) : ;; 14 2|3|4|5) : ;;
15 *) die "qt4-r2.eclass: unsupported EAPI=${EAPI:-0}" ;; 15 *) die "qt4-r2.eclass: unsupported EAPI=${EAPI:-0}" ;;
16esac 16esac
17 17
18inherit base qmake-utils 18inherit base eutils qmake-utils
19 19
20export XDG_CONFIG_HOME="${T}" 20export XDG_CONFIG_HOME="${T}"
21 21
22# @ECLASS-VARIABLE: DOCS 22# @ECLASS-VARIABLE: DOCS
23# @DEFAULT_UNSET 23# @DEFAULT_UNSET
130# and documentation (via DOCS and HTML_DOCS variables). 130# and documentation (via DOCS and HTML_DOCS variables).
131qt4-r2_src_install() { 131qt4-r2_src_install() {
132 debug-print-function $FUNCNAME "$@" 132 debug-print-function $FUNCNAME "$@"
133 133
134 base_src_install INSTALL_ROOT="${D}" "$@" 134 base_src_install INSTALL_ROOT="${D}" "$@"
135 135 einstalldocs
136 # backward compatibility for non-array variables
137 if [[ -n ${DOCS} ]] && [[ "$(declare -p DOCS 2>/dev/null 2>&1)" != "declare -a"* ]]; then
138 dodoc ${DOCS} || die "dodoc failed"
139 fi
140 if [[ -n ${HTML_DOCS} ]] && [[ "$(declare -p HTML_DOCS 2>/dev/null 2>&1)" != "declare -a"* ]]; then
141 dohtml -r ${HTML_DOCS} || die "dohtml failed"
142 fi
143} 136}
144 137
145EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install 138EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.20