1 |
>>>>> On Wed, 28 Mar 2018, Marty E Plummer wrote: |
2 |
|
3 |
> How's this: |
4 |
|
5 |
Looks good to me. |
6 |
|
7 |
> --- |
8 |
> eclass/freedict.eclass | 18 ++++++++++-------- |
9 |
> 1 file changed, 10 insertions(+), 8 deletions(-) |
10 |
|
11 |
> diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass |
12 |
> index 06419626d34..7c598aa6eaf 100644 |
13 |
> --- a/eclass/freedict.eclass |
14 |
> +++ b/eclass/freedict.eclass |
15 |
> @@ -1,4 +1,4 @@ |
16 |
> -# Copyright 1999-2014 Gentoo Foundation |
17 |
> +# Copyright 1999-2018 Gentoo Foundation |
18 |
> # Distributed under the terms of the GNU General Public License v2 |
19 |
|
20 |
> # @ECLASS: freedict.eclass |
21 |
> @@ -21,21 +21,23 @@ |
22 |
> # @DESCRIPTION: |
23 |
> # Please see above for a description. |
24 |
|
25 |
> -inherit eutils multilib |
26 |
> - |
27 |
> -IUSE="" |
28 |
> +case ${EAPI:-0} in |
29 |
> + 6) ;; |
30 |
> + *) die "${ECLASS}.eclass is banned in EAPI=${EAPI}" ;; |
31 |
> +esac |
32 |
|
33 |
> MY_P=${PN/freedict-/} |
34 |
|
35 |
> -S="${WORKDIR}" |
36 |
> DESCRIPTION="Freedict for language translation from ${FORLANG} to ${TOLANG}" |
37 |
> -HOMEPAGE="http://www.freedict.de" |
38 |
> +HOMEPAGE="http://freedict.sourceforge.net" |
39 |
> SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz" |
40 |
|
41 |
> +LICENSE="GPL-2+" |
42 |
> SLOT="0" |
43 |
> -LICENSE="GPL-2" |
44 |
|
45 |
> -DEPEND="app-text/dictd" |
46 |
> +RDEPEND="app-text/dictd" |
47 |
> + |
48 |
> +S="${WORKDIR}" |
49 |
|
50 |
> # @FUNCTION: freedict_src_install |
51 |
> # @DESCRIPTION: |
52 |
> -- |
53 |
> 2.16.3 |