Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11485 - dict-freedict-eng-swe-1.0.ebuild
Summary: dict-freedict-eng-swe-1.0.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-02 08:11 UTC by Jan Andersson
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Andersson 2002-12-02 08:11:53 UTC
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 Jan Andersson 2002-12-02 11:05:04 UTC
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 Seemant Kulleen (RETIRED) gentoo-dev 2002-12-03 02:45:50 UTC
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 Jan Andersson 2002-12-05 15:51:18 UTC
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 Seemant Kulleen (RETIRED) gentoo-dev 2002-12-15 19:29:02 UTC
added to portage. I'll make an eclass at some point and add the other ones as well.