diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2008-03-29 02:02:37 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2008-03-29 02:02:37 +0000 |
commit | 4e148ec33ae78c08631b7a64a932c86a40ab47f0 (patch) | |
tree | e5e4df36f6f2032541d0cad3bd9597d03336b018 /eclass | |
parent | Added a patch for gcc 4.3 compatibility as kindly provided by truedfx on bug ... (diff) | |
download | gentoo-2-4e148ec33ae78c08631b7a64a932c86a40ab47f0.tar.gz gentoo-2-4e148ec33ae78c08631b7a64a932c86a40ab47f0.tar.bz2 gentoo-2-4e148ec33ae78c08631b7a64a932c86a40ab47f0.zip |
Added a patch to make aspell-dict.eclass ready for eclass-manpages. Thanks, mren, for providing it on bug 210644.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/aspell-dict.eclass | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/eclass/aspell-dict.eclass b/eclass/aspell-dict.eclass index 4cc0ecac6518..0ceb1a3b530d 100644 --- a/eclass/aspell-dict.eclass +++ b/eclass/aspell-dict.eclass @@ -1,13 +1,27 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/aspell-dict.eclass,v 1.39 2006/12/01 01:54:29 kevquinn Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/aspell-dict.eclass,v 1.40 2008/03/29 02:02:37 philantrop Exp $ + +# @ECLASS: aspell-dict.eclass +# @MAINTAINER: +# app-dicts@gentoo.org # -# Author: Seemant Kulleen <seemant@gentoo.org> +# Original author: Seemant Kulleen # +# @BLURB: An eclass to streamline the construction of ebuilds for new aspell dicts +# @DESCRIPTION: # 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. Support for aspell-0.60 has been added by Sergey Ulanov. +# @ECLASS-VARIABLE: ASPELL_LANG +# @DESCRIPTION: +# Which language is the dictionary for? It's used for the DESCRIPTION of the +# package. + +# @ECLASS-VARIABLE: ASPOSTFIX +# @DESCRIPTION: +# What major version of aspell is this dictionary for? EXPORT_FUNCTIONS src_compile src_install @@ -15,7 +29,7 @@ EXPORT_FUNCTIONS src_compile src_install MY_P=${P%.*}-${PV##*.} MY_P=aspell${ASPOSTFIX}-${MY_P/aspell-/} SPELLANG=${PN/aspell-/} -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" DESCRIPTION="${ASPELL_LANG} language dictionary for aspell" HOMEPAGE="http://aspell.net" SRC_URI="ftp://ftp.gnu.org/gnu/aspell/dict/${SPELLANG}/${MY_P}.tar.bz2" @@ -33,11 +47,17 @@ fi PROVIDE="virtual/aspell-dict" +# @FUNCTION: aspell-dict_src_compile +# @DESCRIPTION: +# The aspell-dict src_compile function which is exported. aspell-dict_src_compile() { ./configure || die emake || die } +# @FUNCTION: aspell-dict_src_install +# @DESCRIPTION: +# The aspell-dict src_install function which is exported. aspell-dict_src_install() { make DESTDIR="${D}" install || die |