Gentoo Archives: gentoo-user-hu

From: E-mber <ispanov@××××××××.hu>
To: gentoo-user-hu@l.g.o
Subject: Re: [gentoo-user-hu] hunspell-1.0_rc1.ebuild
Date: Sun, 29 Aug 2004 12:25:15
Message-Id: 4131CB38.4000109@freemail.hu
In Reply to: Re: [gentoo-user-hu] hunspell-1.0_rc1.ebuild by Zrubecz Laszlo
1 Zrubecz Laszlo írta:
2
3 >2004-08-29, v keltezéssel 02:58-kor Zrubecz Laszlo ezt írta:
4 >
5 >
6 >>Csatolva a frissített ebuild, igaz kissé lemaradva az eredeti
7 >>megjelenéstõl...
8 >>
9 >>
10 >>
11 >
12 >Késõ van már, no... :)
13 >
14 >
15 >
16 >
17 >------------------------------------------------------------------------
18 >
19 ># Copyright 1999-2004 Gentoo Technologies, Inc.
20 ># Distributed under the terms of the GNU General Public License v2
21 ># $Header: $
22 >
23 >DESCRIPTION="Hunspell is an interactive hungarian spell checker"
24 >HOMEPAGE="http://magyarispell.sourceforge.net/"
25 >SRC_URI="http://magyarispell.sourceforge.net/hunspell-1.0-RC1.tar.gz"
26 >LICENSE="LGPL-2.1"
27 >
28 >SLOT="0"
29 >
30 >KEYWORDS="x86"
31 >
32 >IUSE=""
33 >
34 >DEPEND="virtual/glibc
35 > sys-libs/readline
36 > sys-libs/ncurses
37 > sys-devel/gettext"
38 >
39 >S="${WORKDIR}/hunspell-1.0-RC1"
40 >
41 >src_compile() {
42 > sed -i -e "s:lcurses:lncurses:" Makefile
43 > emake || die "emake failed"
44 >}
45 >
46 >src_install() {
47 >
48 > dobin hunspell
49 > dobin hunp
50 >
51 > dosym /usr/bin/hunspell /usr/bin/hunstem
52 >
53 > dodir /usr/share/myspell
54 > insinto /usr/share/myspell
55 > doins hu_HU.aff
56 > doins hu_HU.dic
57 >
58 > dosym /usr/share/myspell/hu_HU.aff /usr/share/myspell/magyar.aff
59 > dosym /usr/share/myspell/hu_HU.dic /usr/share/myspell/magyar.dic
60 > dosym /usr/share/myspell/hu_HU.aff /usr/share/myspell/hungarian.aff
61 > dosym /usr/share/myspell/hu_HU.dic /usr/share/myspell/hungarian.dic
62 > dosym /usr/share/myspell/hu_HU.aff /usr/share/myspell/default.aff
63 > dosym /usr/share/myspell/hu_HU.dic /usr/share/myspell/default.dic
64 >
65 > doman man/hunspell.1
66 > doman man/hunspell.4
67 > doman man/hunp.1
68 >
69 > insinto /usr/share/locale/hu/LC_MESSAGES
70 > doins hunspell.mo
71 >
72 > dodoc ChangeLog OLVASS.EL README*
73 >}
74 >
75 >pkg_postinst() {
76 > einfo "Renaming /usr/bin/ispell to /usr/bin/ispell.orig"
77 > mv /usr/bin/ispell /usr/bin/ispell.orig
78 > einfo "Making /usr/bin/ispell symlink to /usr/bin/hunspell"
79 > ln -s /usr/bin/hunspell /usr/bin/ispell
80 >}
81 >
82 >pkg_postrm() {
83 > einfo "Removing /usr/bin/ispell symlink"
84 > rm /usr/bin/ispell
85 > einfo "Restoring /usr/bin/ispell.orig to /usr/bin/ispell"
86 > mv /usr/bin/ispell.orig /usr/bin/ispell
87 >}
88 >
89 >
90 >
91 >
92 >------------------------------------------------------------------------
93 >
94 >--
95 >gentoo-user-hu@g.o mailing list
96 >
97 köszi a buildet
98
99 --
100 gentoo-user-hu@g.o mailing list