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

Contents of /eclass/freedict.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Wed Jul 6 20:20:03 2005 UTC (9 years, 3 months ago) by agriffis
Branch: MAIN
Changes since 1.10: +1 -2 lines
Remove ECLASS= and INHERITED= which haven't been necessary for a long time now

1 vapier 1.7 # Copyright 1999-2004 Gentoo Foundation
2 seemant 1.1 # Distributed under the terms of the GNU General Public License v2
3 agriffis 1.11 # $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.10 2005/06/28 19:51:41 josejx Exp $
4 seemant 1.1
5     # Author: Seemant Kulleen <seemant@gentoo.org>
6     # This eclass exists to ease the installation of freedict translation
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,
9     # respectively.
10    
11 kugelfang 1.8 inherit eutils
12    
13 liquidx 1.3 INHERITED="$INHERITED $ECLASS"
14    
15 seemant 1.1 IUSE=""
16    
17     MY_P=${PN/freedict-/}
18    
19     S=${WORKDIR}
20     DESCRIPTION="Freedict for language translation from ${FORLANG} to ${TOLANG}"
21     HOMEPAGE="http://www.freedict.de"
22     SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
23    
24     SLOT="0"
25     LICENSE="GPL-2"
26 josejx 1.10 KEYWORDS="x86 ~amd64 ppc ~sparc ~alpha ~mips ~hppa"
27 seemant 1.1
28 mr_bones_ 1.6 DEPEND="app-text/dictd"
29 seemant 1.1
30 liquidx 1.3 freedict_src_install() {
31 kugelfang 1.8 insinto /usr/$(get_libdir)/dict
32 seemant 1.1 doins ${MY_P}.dict.dz
33     doins ${MY_P}.index
34     }
35 liquidx 1.3
36     EXPORT_FUNCTIONS src_install

  ViewVC Help
Powered by ViewVC 1.1.20