| 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.21 2009/03/15 16:54:32 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.22 2009/03/19 09:12:41 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 | # @AUTHORS: |
8 | # @AUTHORS: |
| … | |
… | |
| 29 | esac |
29 | esac |
| 30 | EXPORT_FUNCTIONS ${EXPF} |
30 | EXPORT_FUNCTIONS ${EXPF} |
| 31 | |
31 | |
| 32 | : ${DESCRIPTION:="Based on the ${ECLASS} eclass"} |
32 | : ${DESCRIPTION:="Based on the ${ECLASS} eclass"} |
| 33 | |
33 | |
|
|
34 | DEPEND=" |
| 34 | DEPEND=">=dev-util/cmake-2.6.2-r1" |
35 | >=dev-util/cmake-2.6.2-r1 |
|
|
36 | userland_GNU? ( >=sys-apps/findutils-4.4.0 ) |
|
|
37 | " |
| 35 | |
38 | |
| 36 | # Internal functions used by cmake-utils_use_* |
39 | # Internal functions used by cmake-utils_use_* |
| 37 | _use_me_now() { |
40 | _use_me_now() { |
| 38 | debug-print-function ${FUNCNAME} "$@" |
41 | debug-print-function ${FUNCNAME} "$@" |
| 39 | [[ -z $2 ]] && die "cmake-utils_use-$1 <USE flag> [<flag name>]" |
42 | [[ -z $2 ]] && die "cmake-utils_use-$1 <USE flag> [<flag name>]" |