blob: c5e895f297cae8884a56ae61f26918cef4fbd857 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans-en2pt/babytrans-en2pt-0.1.ebuild,v 1.1 2004/09/10 05:42:52 angusyoung Exp $
MY_P="EngtoPor.dic.gz"
MY_F="Engtoptg.dic"
DESCRIPTION="English to Brazilian-Portuguese dictionary for Babytrans"
HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/"
SRC_URI="ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/${MY_P}"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND=""
S=${WORKDIR}/${P}
src_unpack() {
local MY_A
unpack ${A} || die "Unable to unpack file ${A}"
MY_A="EngtoPor.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}"
}
|