summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-05-06 18:35:20 +0200
committerDavid Seifert <soap@gentoo.org>2017-05-06 18:36:07 +0200
commit381db3a279c05b1e0652dd0faa90794d04c37089 (patch)
treeca6b77a48745cc17d5e886fab6f91f24d3d36888 /eclass
parentgnat.eclass: Remove last-rited eclass (diff)
downloadgentoo-381db3a279c05b1e0652dd0faa90794d04c37089.tar.gz
gentoo-381db3a279c05b1e0652dd0faa90794d04c37089.tar.bz2
gentoo-381db3a279c05b1e0652dd0faa90794d04c37089.zip
aspell-dict.eclass: Remove last-rited eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/aspell-dict.eclass80
1 files changed, 0 insertions, 80 deletions
diff --git a/eclass/aspell-dict.eclass b/eclass/aspell-dict.eclass
deleted file mode 100644
index 102694a0237d..000000000000
--- a/eclass/aspell-dict.eclass
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# @DEAD
-# Removal on 2017-05-01.
-
-# @ECLASS: aspell-dict.eclass
-# @MAINTAINER:
-# maintainer-needed@gentoo.org
-# @AUTHOR:
-# 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
-# @REQUIRED
-# @DESCRIPTION:
-# Which language is the dictionary for? It's used for the DESCRIPTION of the
-# package.
-
-# @ECLASS-VARIABLE: ASPOSTFIX
-# @REQUIRED
-# @DESCRIPTION:
-# What major version of aspell is this dictionary for?
-
-case ${EAPI} in
- 0|1) EXPORT_FUNCTIONS src_compile src_install ;;
- *) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
-esac
-
-#MY_P=${PN}-${PV%.*}-${PV#*.*.}
-MY_P=${P%.*}-${PV##*.}
-MY_P=aspell${ASPOSTFIX}-${MY_P/aspell-/}
-SPELLANG=${PN/aspell-/}
-S="${WORKDIR}/${MY_P}"
-DESCRIPTION="${ASPELL_LANG} language dictionary for aspell"
-HOMEPAGE="http://aspell.net"
-SRC_URI="mirror://gnu/aspell/dict/${SPELLANG}/${MY_P}.tar.bz2"
-
-IUSE=""
-SLOT="0"
-
-if [ x${ASPOSTFIX} = x6 ] ; then
- RDEPEND=">=app-text/aspell-0.60"
- DEPEND="${RDEPEND}"
-else
- RDEPEND=">=app-text/aspell-0.50"
- DEPEND="${RDEPEND}"
-fi
-
-# @FUNCTION: aspell-dict_src_configure
-# @DESCRIPTION:
-# The aspell-dict src_configure function which is exported.
-aspell-dict_src_configure() {
- ./configure || die
-}
-
-# @FUNCTION: aspell-dict_src_compile
-# @DESCRIPTION:
-# The aspell-dict src_compile function which is exported.
-aspell-dict_src_compile() {
- case ${EAPI} in
- 0|1) aspell-dict_src_configure ;;
- esac
- 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
-
- for doc in README info ; do
- [ -s "$doc" ] && dodoc $doc
- done
-}