/[gentoo-x86]/app-dicts/babytrans-en2ger/babytrans-en2ger-0.2.ebuild
Gentoo

Contents of /app-dicts/babytrans-en2ger/babytrans-en2ger-0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Oct 17 22:43:25 2009 UTC (5 years, 2 months ago) by halcy0n
Branch: MAIN
Changes since 1.6: +3 -3 lines
QA fixes; unquoted variables
(Portage version: 2.2_rc46/cvs/Linux i686)

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-en2ger/babytrans-en2ger-0.2.ebuild,v 1.6 2005/05/27 18:32:14 angusyoung Exp $
4
5 MY_P="EngtoGer.dic.gz"
6 MY_F="Engtoger.dic"
7 DESCRIPTION="English to German dictionary for Babytrans"
8 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/"
9 SRC_URI="ftp://ftp.ac-grenoble.fr/ge/languages/babylon_dict/${MY_P}"
10
11 LICENSE="Babylon"
12 SLOT="0"
13 KEYWORDS="~x86 ~amd64 ~ppc"
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="EngtoGer.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