| 1 | # Copyright 1999-2011 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.4 2011/12/16 16:40:46 maksbotan 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 | # @BLURB: Common functions and setup utilities for the LeechCraft app |
|
|
| 9 | # @AUTHOR: |
8 | # @AUTHOR: |
| 10 | # 0xd34df00d@gmail.com |
9 | # 0xd34df00d@gmail.com |
| 11 | # NightNord@niifaq.ru |
10 | # NightNord@niifaq.ru |
|
|
11 | # @BLURB: Common functions and setup utilities for the LeechCraft app |
| 12 | # @DESCRIPTION: |
12 | # @DESCRIPTION: |
| 13 | # The leechcraft eclass contains a common set of functions and steps |
13 | # The leechcraft eclass contains a common set of functions and steps |
| 14 | # needed to build LeechCraft core or its plugins. |
14 | # needed to build LeechCraft core or its plugins. |
| 15 | # |
15 | # |
| 16 | # Though this eclass seems to be small at the moment, it seems like a |
16 | # Though this eclass seems to be small at the moment, it seems like a |
| … | |
… | |
| 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 |