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

Contents of /eclass/freedict.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sun Apr 11 05:46:09 2004 UTC (10 years, 5 months ago) by mr_bones_
Branch: MAIN
Changes since 1.5: +2 -2 lines
Apply patch from bug #25013 to replace calls to newdepend and newrdepend
with variable setting (DEPEND=, RDEPEND=).

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

  ViewVC Help
Powered by ViewVC 1.1.20