summaryrefslogtreecommitdiff
blob: 98d8e7ee6cfab5bbad8091b5dd2df57cafe1bb98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Seemant Kulleen <seemant@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/eclass/aspell-dict.eclass,v 1.2 2002/08/16 01:34:43 seemant Exp $

# The aspell-dict eclass is designed to streamline the construction of
# ebuilds for the new aspell dictionaries (from gnu.org) which support
# aspell-0.50

ECLASS=aspell-dict
INHERITED="${INHERITED} ${ECLASS}"

EXPORT_FUNCTIONS src_compile src_install

if [ -z ${MY_P} ]
then
	MY_P=${PN}-${PV%.*.*}-${PV#*.*.}
fi
S=${WORKDIR}/${MY_P}
DESCRIPTION="${ASPELL_LANG} dictionary for aspell"
HOMEPAGE="http://www.gnu.org/projects/aspell/index.html"
SRC_URI="http://savannah.gnu.org/download/aspell/dicts/${MY_P}.tar.bz2"

DEPEND="=app-text/aspell-0.50*"

SLOT="0"
LICENSE="as-is"
KEYWORDS="x86"

aspell-dict_src_compile() {
	./configure || die
	emake || die
}

aspell-dict_src_install() {

	make \
		DESTDIR=${D} \
		install || die

	dodoc Copyright README info
}