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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sat Oct 17 22:40:19 2009 UTC (9 years, 1 month ago) by halcy0n
Branch: MAIN
Changes since 1.5: +3 -3 lines
QA fixes; unquoted variables
(Portage version: 2.2_rc46/cvs/Linux i686)

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

  ViewVC Help
Powered by ViewVC 1.1.20