| 1 | # Copyright 1999-2008 Gentoo Foundation |
1 | # Copyright 1999-2011 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/aspell-dict.eclass,v 1.41 2009/01/10 16:16:19 pva Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/aspell-dict.eclass,v 1.43 2011/08/22 04:46:31 vapier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: aspell-dict.eclass |
5 | # @ECLASS: aspell-dict.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # app-dicts@gentoo.org |
7 | # app-dicts@gentoo.org |
| 8 | # |
8 | # @AUTHOR: |
| 9 | # Original author: Seemant Kulleen |
9 | # Original author: Seemant Kulleen |
| 10 | # |
|
|
| 11 | # @BLURB: An eclass to streamline the construction of ebuilds for new aspell dicts |
10 | # @BLURB: An eclass to streamline the construction of ebuilds for new aspell dicts |
| 12 | # @DESCRIPTION: |
11 | # @DESCRIPTION: |
| 13 | # The aspell-dict eclass is designed to streamline the construction of |
12 | # The aspell-dict eclass is designed to streamline the construction of |
| 14 | # ebuilds for the new aspell dictionaries (from gnu.org) which support |
13 | # ebuilds for the new aspell dictionaries (from gnu.org) which support |
| 15 | # aspell-0.50. Support for aspell-0.60 has been added by Sergey Ulanov. |
14 | # aspell-0.50. Support for aspell-0.60 has been added by Sergey Ulanov. |
| 16 | |
15 | |
| 17 | # @ECLASS-VARIABLE: ASPELL_LANG |
16 | # @ECLASS-VARIABLE: ASPELL_LANG |
|
|
17 | # @REQUIRED |
| 18 | # @DESCRIPTION: |
18 | # @DESCRIPTION: |
| 19 | # Which language is the dictionary for? It's used for the DESCRIPTION of the |
19 | # Which language is the dictionary for? It's used for the DESCRIPTION of the |
| 20 | # package. |
20 | # package. |
| 21 | |
21 | |
| 22 | # @ECLASS-VARIABLE: ASPOSTFIX |
22 | # @ECLASS-VARIABLE: ASPOSTFIX |
|
|
23 | # @REQUIRED |
| 23 | # @DESCRIPTION: |
24 | # @DESCRIPTION: |
| 24 | # What major version of aspell is this dictionary for? |
25 | # What major version of aspell is this dictionary for? |
| 25 | |
26 | |
| 26 | EXPORT_FUNCTIONS src_compile src_install |
27 | EXPORT_FUNCTIONS src_compile src_install |
| 27 | |
28 | |
| … | |
… | |
| 43 | else |
44 | else |
| 44 | RDEPEND=">=app-text/aspell-0.50" |
45 | RDEPEND=">=app-text/aspell-0.50" |
| 45 | DEPEND="${RDEPEND}" |
46 | DEPEND="${RDEPEND}" |
| 46 | fi |
47 | fi |
| 47 | |
48 | |
| 48 | PROVIDE="virtual/aspell-dict" |
|
|
| 49 | |
|
|
| 50 | # @FUNCTION: aspell-dict_src_compile |
49 | # @FUNCTION: aspell-dict_src_compile |
| 51 | # @DESCRIPTION: |
50 | # @DESCRIPTION: |
| 52 | # The aspell-dict src_compile function which is exported. |
51 | # The aspell-dict src_compile function which is exported. |
| 53 | aspell-dict_src_compile() { |
52 | aspell-dict_src_compile() { |
| 54 | ./configure || die |
53 | ./configure || die |