diff options
author | Peter Volkov <pva@gentoo.org> | 2008-03-27 13:56:41 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-03-27 13:56:41 +0000 |
commit | b287a5821b94ba93a075870688aa696a3420f71a (patch) | |
tree | 713125f3590a024a7ba42b6f46c4f4410dc8947e /eclass | |
parent | alpha/ia64/sparc/x86 stable (diff) | |
download | historical-b287a5821b94ba93a075870688aa696a3420f71a.tar.gz historical-b287a5821b94ba93a075870688aa696a3420f71a.tar.bz2 historical-b287a5821b94ba93a075870688aa696a3420f71a.zip |
Removed KEWORDS from stardict eclass, bug #163833, thank Alexander Færøy for report. Fixed unsafe locale-dependent patterns usage, bug #205781, thank Jakub Moc for report. Raised version of stardict in DEPEND (2.1->2.4.2) as we don't have <stardict-2.4.2 in the tree and don't support that old dictionary format. Small quotation fix.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/stardict.eclass | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/stardict.eclass b/eclass/stardict.eclass index bb1d736f00ac..1f7b5479a64f 100644 --- a/eclass/stardict.eclass +++ b/eclass/stardict.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/stardict.eclass,v 1.12 2007/07/02 14:24:27 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/stardict.eclass,v 1.13 2008/03/27 13:56:41 pva Exp $ # Author : Alastair Tse <liquidx@gentoo.org> # @@ -16,7 +16,7 @@ RESTRICT="strip" -[ -z "${DICT_SUFFIX}" ] && DICT_SUFFIX=${PN#stardict-[a-z]*-} +[ -z "${DICT_SUFFIX}" ] && DICT_SUFFIX=${PN#stardict-[[:lower:]]*-} [ -z "${DICT_P}" ] && DICT_P=stardict-${DICT_PREFIX}${DICT_SUFFIX}-${PV} if [ -n "${FROM_LANG}" -a -n "${TO_LANG}" ]; then @@ -31,9 +31,8 @@ SRC_URI="mirror://sourceforge/stardict/${DICT_P}.tar.bz2" IUSE="" SLOT="0" LICENSE="GPL-2" -KEYWORDS="~sparc ~x86" -DEPEND=">=app-dicts/stardict-2.1" +DEPEND=">=app-dicts/stardict-2.4.2" S=${WORKDIR}/${DICT_P} @@ -42,7 +41,7 @@ stardict_src_compile() { } stardict_src_install() { - cd ${S} + cd "${S}" insinto /usr/share/stardict/dic doins *.dict.dz doins *.idx* |