/[gentoo-x86]/eclass/freedict.eclass
Gentoo

Diff of /eclass/freedict.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1.1.1 Revision 1.4
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2003 Gentoo Technologies, Inc.
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.1.1.1 2005/11/30 09:59:33 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.4 2003/07/22 00:32:08 msterret 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,
9# respectively. 9# respectively.
10 10
11inherit eutils 11ECLASS="freedict"
12INHERITED="$INHERITED $ECLASS"
12 13
13IUSE="" 14IUSE=""
14 15
15MY_P=${PN/freedict-/} 16MY_P=${PN/freedict-/}
16 17
19HOMEPAGE="http://www.freedict.de" 20HOMEPAGE="http://www.freedict.de"
20SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz" 21SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
21 22
22SLOT="0" 23SLOT="0"
23LICENSE="GPL-2" 24LICENSE="GPL-2"
24KEYWORDS="x86 ~amd64 ppc ~sparc ~alpha ~mips ~hppa" 25KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
25 26
26DEPEND="app-text/dictd" 27newdepend "app-text/dictd"
27 28
28freedict_src_install() { 29freedict_src_install() {
29 insinto /usr/$(get_libdir)/dict 30 insinto /usr/lib/dict
30 doins ${MY_P}.dict.dz 31 doins ${MY_P}.dict.dz
31 doins ${MY_P}.index 32 doins ${MY_P}.index
32} 33}
33 34
34EXPORT_FUNCTIONS src_install 35EXPORT_FUNCTIONS src_install

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20