summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-03-27 13:56:41 +0000
committerPeter Volkov <pva@gentoo.org>2008-03-27 13:56:41 +0000
commit06c17f4bb0cb0632181ae39cdea1c4c913ff3523 (patch)
treeb1f2ced1c2deca6f99e197e6a560afadad8dd3f2 /eclass/stardict.eclass
parentalpha/ia64/sparc/x86 stable (diff)
downloadgentoo-2-06c17f4bb0cb0632181ae39cdea1c4c913ff3523.tar.gz
gentoo-2-06c17f4bb0cb0632181ae39cdea1c4c913ff3523.tar.bz2
gentoo-2-06c17f4bb0cb0632181ae39cdea1c4c913ff3523.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/stardict.eclass')
-rw-r--r--eclass/stardict.eclass9
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*