/[gentoo-x86]/eclass/cmake-utils.eclass
Gentoo

Diff of /eclass/cmake-utils.eclass

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

Revision 1.32 Revision 1.33
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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/cmake-utils.eclass,v 1.32 2009/10/27 14:16:49 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.33 2009/10/27 14:30:35 scarabeus Exp $
4 4
5# @ECLASS: cmake-utils.eclass 5# @ECLASS: cmake-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# 8#
396# @FUNCTION: cmake-utils_src_configure 396# @FUNCTION: cmake-utils_src_configure
397# @DESCRIPTION: 397# @DESCRIPTION:
398# Wrapper for detection if we want to run enable_ prefixed function with same name 398# Wrapper for detection if we want to run enable_ prefixed function with same name
399# unconditionaly or only when some useflag is enabled. 399# unconditionaly or only when some useflag is enabled.
400cmake-utils_src_configure() { 400cmake-utils_src_configure() {
401 _inherit_optionaly "src_configure" 401 _execute_optionaly "src_configure"
402} 402}
403 403
404# @FUNCTION: cmake-utils_src_compile 404# @FUNCTION: cmake-utils_src_compile
405# @DESCRIPTION: 405# @DESCRIPTION:
406# Wrapper for detection if we want to run enable_ prefixed function with same name 406# Wrapper for detection if we want to run enable_ prefixed function with same name
407# unconditionaly or only when some useflag is enabled. 407# unconditionaly or only when some useflag is enabled.
408cmake-utils_src_compile() { 408cmake-utils_src_compile() {
409 _inherit_optionaly "src_compile" 409 _execute_optionaly "src_compile"
410} 410}
411 411
412# @FUNCTION: cmake-utils_src_install 412# @FUNCTION: cmake-utils_src_install
413# @DESCRIPTION: 413# @DESCRIPTION:
414# Wrapper for detection if we want to run enable_ prefixed function with same name 414# Wrapper for detection if we want to run enable_ prefixed function with same name
415# unconditionaly or only when some useflag is enabled. 415# unconditionaly or only when some useflag is enabled.
416cmake-utils_src_install() { 416cmake-utils_src_install() {
417 _inherit_optionaly "src_install" 417 _execute_optionaly "src_install"
418} 418}
419 419
420# @FUNCTION: cmake-utils_src_test 420# @FUNCTION: cmake-utils_src_test
421# @DESCRIPTION: 421# @DESCRIPTION:
422# Wrapper for detection if we want to run enable_ prefixed function with same name 422# Wrapper for detection if we want to run enable_ prefixed function with same name
423# unconditionaly or only when some useflag is enabled. 423# unconditionaly or only when some useflag is enabled.
424cmake-utils_src_test() { 424cmake-utils_src_test() {
425 _inherit_optionaly "src_test" 425 _execute_optionaly "src_test"
426} 426}
427 427
428 428
429_execute_optionaly() { 429_execute_optionaly() {
430 local phase="$1" 430 local phase="$1"

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.20