| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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.79 2012/05/08 21:27:10 dilfridge Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.80 2012/09/15 16:16:53 zmedico 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 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 58 | 4|3|2) CMAKE_EXPF+=" src_configure" ;; |
58 | 4|3|2) CMAKE_EXPF+=" src_configure" ;; |
| 59 | 1|0) ;; |
59 | 1|0) ;; |
| 60 | *) die "Unknown EAPI, Bug eclass maintainers." ;; |
60 | *) die "Unknown EAPI, Bug eclass maintainers." ;; |
| 61 | esac |
61 | esac |
| 62 | EXPORT_FUNCTIONS ${CMAKE_EXPF} |
62 | EXPORT_FUNCTIONS ${CMAKE_EXPF} |
| 63 | |
|
|
| 64 | : ${DESCRIPTION:="Based on the ${ECLASS} eclass"} |
|
|
| 65 | |
63 | |
| 66 | if [[ ${PN} != cmake ]]; then |
64 | if [[ ${PN} != cmake ]]; then |
| 67 | CMAKEDEPEND+=" >=dev-util/cmake-${CMAKE_MIN_VERSION}" |
65 | CMAKEDEPEND+=" >=dev-util/cmake-${CMAKE_MIN_VERSION}" |
| 68 | fi |
66 | fi |
| 69 | |
67 | |