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

Diff of /eclass/freedict.eclass

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2003 Gentoo Technologies, Inc. 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.2 2003/03/18 03:54:48 seemant Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.3 2003/06/03 23:26:46 liquidx 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
11ECLASS="freedict"
12INHERITED="$INHERITED $ECLASS"
10 13
11IUSE="" 14IUSE=""
12 15
13MY_P=${PN/freedict-/} 16MY_P=${PN/freedict-/}
14 17
21LICENSE="GPL-2" 24LICENSE="GPL-2"
22KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm" 25KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
23 26
24DEPEND="app-text/dictd" 27DEPEND="app-text/dictd"
25 28
26src_install() { 29freedict_src_install() {
27 insinto /usr/lib/dict 30 insinto /usr/lib/dict
28 doins ${MY_P}.dict.dz 31 doins ${MY_P}.dict.dz
29 doins ${MY_P}.index 32 doins ${MY_P}.index
30} 33}
34
35EXPORT_FUNCTIONS src_install

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20