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

Contents of /eclass/freedict.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Nov 30 09:59:33 2005 UTC (8 years, 9 months ago) by chriswhite
Changes since 1.1: +9 -5 lines
*** empty log message ***

1 chriswhite 1.1.1.1 # Copyright 1999-2004 Gentoo Foundation
2 seemant 1.1 # Distributed under the terms of the GNU General Public License v2
3 chriswhite 1.1.1.1 # $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.13 2005/07/11 15:08:06 swegener 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 chriswhite 1.1.1.1 inherit eutils
12    
13 seemant 1.1 IUSE=""
14    
15     MY_P=${PN/freedict-/}
16    
17     S=${WORKDIR}
18     DESCRIPTION="Freedict for language translation from ${FORLANG} to ${TOLANG}"
19     HOMEPAGE="http://www.freedict.de"
20     SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
21    
22     SLOT="0"
23     LICENSE="GPL-2"
24 chriswhite 1.1.1.1 KEYWORDS="x86 ~amd64 ppc ~sparc ~alpha ~mips ~hppa"
25 seemant 1.1
26     DEPEND="app-text/dictd"
27    
28 chriswhite 1.1.1.1 freedict_src_install() {
29     insinto /usr/$(get_libdir)/dict
30 seemant 1.1 doins ${MY_P}.dict.dz
31     doins ${MY_P}.index
32     }
33 chriswhite 1.1.1.1
34     EXPORT_FUNCTIONS src_install

  ViewVC Help
Powered by ViewVC 1.1.20