summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-08-16 01:34:43 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-08-16 01:34:43 +0000
commita17cc7583d225fb0d41a88afaf66e0d81b0cc34c (patch)
tree669ab2d7e497c5fa1c129077c6cb2a47dc960858 /eclass/aspell-dict.eclass
parentversion bump (diff)
downloadhistorical-a17cc7583d225fb0d41a88afaf66e0d81b0cc34c.tar.gz
historical-a17cc7583d225fb0d41a88afaf66e0d81b0cc34c.tar.bz2
historical-a17cc7583d225fb0d41a88afaf66e0d81b0cc34c.zip
modified to work with quirky aspell-fr version
Diffstat (limited to 'eclass/aspell-dict.eclass')
-rw-r--r--eclass/aspell-dict.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/aspell-dict.eclass b/eclass/aspell-dict.eclass
index e5dd3f6c8d45..98d8e7ee6cfa 100644
--- a/eclass/aspell-dict.eclass
+++ b/eclass/aspell-dict.eclass
@@ -1,7 +1,7 @@
# 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.1 2002/08/15 08:23:01 seemant Exp $
+# $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
@@ -12,7 +12,10 @@ INHERITED="${INHERITED} ${ECLASS}"
EXPORT_FUNCTIONS src_compile src_install
-MY_P=${PN}-${PV%.*.*}-${PV#*.*.}
+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"