| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.14 2006/05/27 17:35:11 kloeri Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.16 2007/01/25 21:17:12 eroyf Exp $ |
| 4 | |
4 | |
| 5 | # Author: Seemant Kulleen <seemant@gentoo.org> |
5 | # Author: Seemant Kulleen <seemant@gentoo.org> |
| 6 | # This eclass exists to ease the installation of freedict translation |
6 | # This eclass exists to ease the installation of freedict translation |
| 7 | # dictionaries. The only variables which need to be defined in the actual |
7 | # dictionaries. The only variables which need to be defined in the actual |
| 8 | # ebuilds are FORLANG and TOLANG for the source and target languages, |
8 | # ebuilds are FORLANG and TOLANG for the source and target languages, |
| … | |
… | |
| 19 | HOMEPAGE="http://www.freedict.de" |
19 | HOMEPAGE="http://www.freedict.de" |
| 20 | SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz" |
20 | SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz" |
| 21 | |
21 | |
| 22 | SLOT="0" |
22 | SLOT="0" |
| 23 | LICENSE="GPL-2" |
23 | LICENSE="GPL-2" |
| 24 | KEYWORDS="x86 ~amd64 ppc ~sparc alpha ~mips ~hppa" |
24 | KEYWORDS="x86 ~amd64 ppc sparc alpha mips ~hppa" |
| 25 | |
25 | |
| 26 | DEPEND="app-text/dictd" |
26 | DEPEND="app-text/dictd" |
| 27 | |
27 | |
| 28 | freedict_src_install() { |
28 | freedict_src_install() { |
| 29 | insinto /usr/$(get_libdir)/dict |
29 | insinto /usr/$(get_libdir)/dict |