/[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.16
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Foundation
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.16 2007/01/25 21:17:12 eroyf 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
11inherit eutils
10 12
11IUSE="" 13IUSE=""
12 14
13MY_P=${PN/freedict-/} 15MY_P=${PN/freedict-/}
14 16
17HOMEPAGE="http://www.freedict.de" 19HOMEPAGE="http://www.freedict.de"
18SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz" 20SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
19 21
20SLOT="0" 22SLOT="0"
21LICENSE="GPL-2" 23LICENSE="GPL-2"
22KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm" 24KEYWORDS="x86 ~amd64 ppc sparc alpha mips ~hppa"
23 25
24DEPEND="app-text/dictd" 26DEPEND="app-text/dictd"
25 27
26src_install() { 28freedict_src_install() {
27 insinto /usr/lib/dict 29 insinto /usr/$(get_libdir)/dict
28 doins ${MY_P}.dict.dz 30 doins ${MY_P}.dict.dz
29 doins ${MY_P}.index 31 doins ${MY_P}.index
30} 32}
33
34EXPORT_FUNCTIONS src_install

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

  ViewVC Help
Powered by ViewVC 1.1.20