Bug 11485 - dict-freedict-eng-swe-1.0.ebuild
Bug#: 11485 Product:  Gentoo Linux Version: 1.4_rc1 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: seemant@gentoo.org Reported By: janneand@yahoo.com
Component: Ebuilds
URL: 
Summary: dict-freedict-eng-swe-1.0.ebuild
Keywords:  
Status Whiteboard: 
Opened: 2002-12-02 08:11 0000
Description:   Opened: 2002-12-02 08:11 0000
By renaming the ebuild, you have loads of different ebuilds. For example eng-
swe is a swedish - english dictionary. All the combinations can be found on 
this page: http://www.freedict.de/Download.shtml, note that the table on that 
page is duplicated so only use the first half (down to the second header). They 
are 50 in total but two have zero size:
http://freedict.sourceforge.net/download/linux/eng-cze.tar.gz
http://freedict.sourceforge.net/download/linux/gre-deu.tar.gz

-J

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="dict-freedict for language translation"
HOMEPAGE="http://www.freedict.de"
MY_P=$(echo $P|sed -e s/-1.0//g -e s/dict-freedict-//g)
SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE="x86 sparc sparc64"
DEPEND="dictd"
#RDEPEND=""
S=${WORKDIR}

src_install() {
	dodir /usr/lib/dict
	insinto /usr/lib/dict
	doins ${MY_P}.dict.dz
	doins ${MY_P}.index
}

------- Comment #1 From Jan Andersson 2002-12-02 11:05:04 0000 -------
Updated to use PN instead...

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="dict-freedict for language translation"
HOMEPAGE="http://www.freedict.de"
MY_P=$(echo $PN|sed -e s/dict-freedict-//g)
SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE="x86 sparc sparc64"
DEPEND="dictd"
#RDEPEND=""
S=${WORKDIR}

src_install() {
	dodir /usr/lib/dict
	insinto /usr/lib/dict
	doins ${MY_P}.dict.dz
	doins ${MY_P}.index
}

------- Comment #2 From Seemant Kulleen (RETIRED) 2002-12-03 02:45:50 0000 -------
ok, as you can see from a recent emerge sync, I have moved all the existing
dictionaries into a new category called "app-dicts"  I reasoned that adding
these 48 translation dictionaries would increase app-i18n to over 200 packages.
 So, I will start to systematically add the dictionaries into portage, then
close this bug report..

------- Comment #3 From Jan Andersson 2002-12-05 15:51:18 0000 -------
I see that you also have moved aspell-* and ispell-*. They are not quite dicts 
(as in the program dictd) but rather spell-files. So I'd suggest that they stay 
in app-i18n OR get moved to something like app-spell.

------- Comment #4 From Seemant Kulleen (RETIRED) 2002-12-15 19:29:02 0000 -------
added to portage. I'll make an eclass at some point and add the other ones as
well.