/[gentoo-x86]/app-dicts/babytrans-en2spa/babytrans-en2spa-0.1.ebuild
Gentoo

Contents of /app-dicts/babytrans-en2spa/babytrans-en2spa-0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Oct 19 06:12:30 2013 UTC (6 years, 4 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
app-dicts/babytrans app-dicts/babytrans-en2en app-dicts/babytrans-en2fre app-dicts/babytrans-en2ger app-dicts/babytrans-en2ita app-dicts/babytrans-en2pt app-dicts/babytrans-en2spa are gone.

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans-en2spa/babytrans-en2spa-0.1.ebuild,v 1.4 2009/10/17 22:45:57 halcy0n Exp $
4
5 MY_P="EngtoSpa.dic.gz"
6 MY_F="Engtospa.dic"
7 DESCRIPTION="English to Spanish dictionary for Babytrans"
8 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/"
9 SRC_URI="${MY_P}"
10
11 LICENSE="Babylon"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE=""
15
16 RDEPEND="app-dicts/babytrans"
17 RESTRICT="fetch"
18
19 pkg_nofetch() {
20 einfo "Due to license restrictions that may apply to the file in"
21 einfo "this package, it has fetch restrictions turned on. This"
22 einfo "means that you must download ${MY_P} file manually from"
23 einfo "${HOMEPAGE} or copy it"
24 einfo "from a windows installation of babylon and put it in "
25 einfo "${DISTDIR}. Finally note that having a license of"
26 einfo "babylon is desired in order to use this package"
27 }
28
29 src_unpack() {
30 local MY_A
31 unpack ${A} || die "Unable to unpack file ${A}"
32 MY_A="EngtoSpa.dic"
33 mv ${MY_A} ${MY_F} || die "Unable to rename file ${MY_A}"
34 }
35
36 src_install() {
37 cd "${WORKDIR}"
38 insinto /usr/share/babytrans
39 doins ${MY_F} || die "Unable to install file ${MY_F}"
40 }

  ViewVC Help
Powered by ViewVC 1.1.20