/[gentoo-x86]/eclass/aspell-dict.eclass
Gentoo

Diff of /eclass/aspell-dict.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.7
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License v2
3# Author: Seemant Kulleen <seemant@gentoo.org> 3# Author: Seemant Kulleen <seemant@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/aspell-dict.eclass,v 1.1 2002/08/15 08:23:01 seemant Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/aspell-dict.eclass,v 1.7 2002/10/25 19:55:52 vapier Exp $
5 5
6# The aspell-dict eclass is designed to streamline the construction of 6# The aspell-dict eclass is designed to streamline the construction of
7# ebuilds for the new aspell dictionaries (from gnu.org) which support 7# ebuilds for the new aspell dictionaries (from gnu.org) which support
8# aspell-0.50 8# aspell-0.50
9 9
10ECLASS=aspell-dict 10ECLASS=aspell-dict
11INHERITED="${INHERITED} ${ECLASS}" 11INHERITED="${INHERITED} ${ECLASS}"
12 12
13EXPORT_FUNCTIONS src_compile src_install 13EXPORT_FUNCTIONS src_compile src_install
14 14
15MY_P=${PN}-${PV%.*.*}-${PV#*.*.} 15MY_P=${PN}-${PV%.*}-${PV#*.*.}
16S=${WORKDIR}/${MY_P} 16S=${WORKDIR}/${MY_P}
17DESCRIPTION="${ASPELL_LANG} dictionary for aspell" 17DESCRIPTION="${ASPELL_LANG} language dictionary for aspell"
18HOMEPAGE="http://www.gnu.org/projects/aspell/index.html" 18HOMEPAGE="http://www.gnu.org/projects/aspell/index.html"
19SRC_URI="http://savannah.gnu.org/download/aspell/dicts/${MY_P}.tar.bz2" 19SRC_URI="ftp://ftp.gnu.org/gnu/aspell/${MY_P}.tar.bz2"
20 20
21DEPEND="=app-text/aspell-0.50*" 21DEPEND=">=app-text/aspell-0.50"
22 22
23SLOT="0" 23SLOT="0"
24LICENSE="as-is" 24KEYWORDS="x86 ppc sparc sparc64"
25KEYWORDS="x86"
26 25
27aspell-dict_src_compile() { 26aspell-dict_src_compile() {
28 ./configure || die 27 ./configure || die
29 emake || die 28 emake || die
30} 29}
31 30
32aspell-dict_src_install() { 31aspell-dict_src_install() {
33 32
34 make \ 33 make DESTDIR=${D} install || die
35 DESTDIR=${D} \
36 install || die
37 34
38 dodoc Copyright README info 35 dodoc Copyright README info
39} 36}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20