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