| 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/leechcraft.eclass,v 1.5 2012/07/17 04:29:05 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.6 2012/09/27 16:35:41 axs Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: leechcraft.eclass |
5 | # @ECLASS: leechcraft.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # leechcraft@gentoo.org |
7 | # leechcraft@gentoo.org |
| 8 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 20 | # Thanks for original eclass to Andrian Nord <NightNord@niifaq.ru>. |
20 | # Thanks for original eclass to Andrian Nord <NightNord@niifaq.ru>. |
| 21 | # |
21 | # |
| 22 | # Only EAPI >1 supported |
22 | # Only EAPI >1 supported |
| 23 | |
23 | |
| 24 | case ${EAPI:-0} in |
24 | case ${EAPI:-0} in |
| 25 | 4|3|2) ;; |
25 | 2|3|4|5) ;; |
| 26 | 0|1) die "EAPI not supported, bug ebuild mantainer" ;; |
26 | 0|1) die "EAPI not supported, bug ebuild mantainer" ;; |
| 27 | *) die "Unknown EAPI, bug eclass maintainers" ;; |
27 | *) die "Unknown EAPI, bug eclass maintainers" ;; |
| 28 | esac |
28 | esac |
| 29 | |
29 | |
| 30 | inherit cmake-utils versionator |
30 | inherit cmake-utils versionator |