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

Contents of /eclass/freedict.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Mar 18 03:54:48 2003 UTC (11 years, 9 months ago) by seemant
Branch: MAIN
Changes since 1.1: +2 -2 lines
added other arches to testing

1 seemant 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 seemant 1.2 # $Header: /home/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.1 2003/03/18 03:49:08 seemant 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     IUSE=""
12    
13     MY_P=${PN/freedict-/}
14    
15     S=${WORKDIR}
16     DESCRIPTION="Freedict for language translation from ${FORLANG} to ${TOLANG}"
17     HOMEPAGE="http://www.freedict.de"
18     SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
19    
20     SLOT="0"
21     LICENSE="GPL-2"
22 seemant 1.2 KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
23 seemant 1.1
24     DEPEND="app-text/dictd"
25    
26     src_install() {
27     insinto /usr/lib/dict
28     doins ${MY_P}.dict.dz
29     doins ${MY_P}.index
30     }

  ViewVC Help
Powered by ViewVC 1.1.20